//
//  EXPGraphComponent.h
//  Expression
//
//  Created by ashley on 01/01/2009.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "EXPComponent.h"

@interface EXPGraphComponent : EXPComponent {
	NSArray *_yValueNames;
	NSString *_xValueName;

	BOOL _autoscaleX;
	BOOL _autoscaleY;

	BOOL _xGrid;
	BOOL _yGrid;
	
	NSString *_plotTitle;
	NSString *_xLabel;
	NSString *_yLabel;
	int _legendPosition;

}

- (void) setYValueNames:(id)yValueNames;
- (void) setXValueName:(id)xValueName;
- (id) yValueNames;
- (id) xValueName;

- (id) plotTitle;
- (void) setPlotTitle:(id)newplotTitle;
- (id) xLabel;
- (void) setXLabel:(id)newXLabel;
- (id)yLabel;
- (void) setYLabel:(id)newYLabel;

- (BOOL) autoscaleX;
- (void) setAutoscaleX:(BOOL)newAutoscaleX;
- (BOOL) autoscaleY;
- (void) setAutoscaleY:(BOOL)newAutoscaleY;

- (BOOL) xGrid;
- (void) setXGrid:(BOOL)newXGrid;
- (BOOL) yGrid;
- (void) setYGrid:(BOOL)newYGrid;

- (int) legendPosition;
- (void) setLegendPosition:(int)newLegendPosition;

@end