Source

core-plot / affinetransform / framework / Source / CPGraph.h

Full commit

// Abstract class

#import <Foundation/Foundation.h>
#import <QuartzCore/QuartzCore.h>

@class CPAxisSet;
@class CPPlotArea;
@class CPPlot;

@interface CPGraph : CALayer {
    CPAxisSet *axisSet;
    CPPlotArea *plotArea;
    NSMutableArray *plots;
}

// Adding and removing plots
-(void)addPlot:(CPPlot *)plot;
-(NSArray *)allPlots;
-(void)removePlotAtIndex:(NSUInteger)index;
-(void)insertPlot:(CPPlot*) plot AtIndex:(NSUInteger)index;
-(void)removePlotWithIdentifier:(id <NSCopying>)identifier;
-(CPPlot *)plotWithIdentifier:(id <NSCopying>)identifier;
-(void)replacePlotAtIndex:(NSUInteger)index withPlot:(CPPlot *)plot;

// Properties
@property (nonatomic, readwrite, retain) CPAxisSet* axisSet;
@property (nonatomic, readwrite, retain) CPPlotArea* plotArea;

@end