visualdatatools.com Forum Index visualdatatools.com
Discussion for DataTank and DataGraph
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Latest Framework breaks my range command usage.

 
Post new topic   Reply to topic    visualdatatools.com Forum Index -> DataGraph Framework
View previous topic :: View next topic  
Author Message
sussillo



Joined: 30 Apr 2009
Posts: 137

PostPosted: Thu Oct 29, 2009 10:11 am    Post subject: Latest Framework breaks my range command usage. Reply with quote

Hi David,

Did you intentionally pare down the interface to the range command or was there a mistake somewhere? If it was intentional, then should I go back to the old style of setting the command?

Thank you,
-David

New:
Code:
@interface DGRangeCommand : DGCommand {
   
}

// Getting and setting the single interval.  Does not switch the interval type.
- (DGRange)xInterval;
- (void)setXInterval:(DGRange)interval;
- (DGRange)yInterval;
- (void)setYInterval:(DGRange)interval;

// Delegate methods
- (void)xIntervalChanged:(DGRangeCommand *)cmd;
- (void)yIntervalChanged:(DGRangeCommand *)cmd;

@end


Old:


Code:
@interface DGRangeCommand : DGCommand {
   
}

// Switching the interval types
- (void)setXIntervalType:(DGRangeCommandIntervalType)type;
// Note, setting any of the entries below does not change the type, so you need to set it.
- (void)setXEverythingOverlapAxisNumbers:(BOOL)state; // DGRangeCommandEverything
- (void)setXIntervalString:(NSString *)str; // DGRangeCommandInterval
- (DGRange)xInterval;
- (void)setXInterval:(DGRange)interval;
- (void)setXAlternatesString:(NSString *)str; // DGRangeCommandAlternates
- (void)setXDatesType:(DGRangeCommandDatesType)type; // DGRangeCommandDates
- (void)setXDatesOddEven:(DGRangeCommandDatesOddEven)type;
- (void)setXColumnsStart:(DGDataColumn *)col; //DGRangeCommandColumns
- (void)setXColumnsEnd:(DGDataColumn *)col;

- (void)setYIntervalType:(DGRangeCommandIntervalType)type;
- (void)setYEverythingOverlapAxisNumbers:(BOOL)state; // DGRangeCommandEverything
- (DGRange)yInterval;
- (void)setYInterval:(DGRange)interval;
- (void)setYIntervalString:(NSString *)str; // DGRangeCommandInteval
- (void)setYAlternatesString:(NSString *)str; // DGRangeCommandAlternates
- (void)setYDatesType:(DGRangeCommandDatesType)type; // DGRangeCommandDates
- (void)setYDatesOddEven:(DGRangeCommandDatesOddEven)type;
- (void)setYColumnsStart:(DGDataColumn *)col; //DGRangeCommandColumns
- (void)setYColumnsEnd:(DGDataColumn *)col;


// Higher level change object.
- (DGFillSettings *)fill;
- (DGLineStyleSettings *)line;

// Delegate methods
- (void)xIntervalChanged:(DGRangeCommand *)cmd;
- (void)yIntervalChanged:(DGRangeCommand *)cmd;

@end

_________________
David Sussillo
Back to top
View user's profile Send private message
sussillo



Joined: 30 Apr 2009
Posts: 137

PostPosted: Thu Oct 29, 2009 10:17 am    Post subject: Reply with quote

Ok, please ignore last post. I don't know what happened but I downloaded the framework again and it has the correct interface now.

Sorry if I confused (although I'm still confused.)
-David
_________________
David Sussillo
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    visualdatatools.com Forum Index -> DataGraph Framework All times are GMT - 3 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group