Up

AFGraphView class documentation

Authors

Stefan Urbanek (urbanek@host.sk)

Copyright: (C) 2002 Stefan Urbanek

Software documentation for the AFGraphView class

AFGraphView : NSView

Declared in:
FarmingKit/AFGraphView.h

Description forthcoming.

Method summary

addElement:

- (void) addElement: (AFGraphElement*)element;

Adds element to the list of receiver's graph elements and notifies associated graph legend view with graphViewDidChangeGraphs:self


autosizesPadding

- (BOOL) autosizesPadding;

Description forthcoming.


autosizesRuler

- (BOOL) autosizesRuler;

Description forthcoming.


backgroundColor

- (NSColor*) backgroundColor;

Description forthcoming.


drawsBackground

- (BOOL) drawsBackground;

Description forthcoming.


drawsGrid

- (BOOL) drawsGrid;

Returns YES if the grid is drawn under the graph elements.


elements

- (NSArray*) elements;

Description forthcoming.


graph

- (AFGraph*) graph;

Returns displayed graph.


gridColor

- (NSColor*) gridColor;

Returns the color of the grid.


legendVisible

- (BOOL) legendVisible;

Description forthcoming.


paddingSize

- (NSSize) paddingSize;

Description forthcoming.


removeAllElements

- (void) removeAllElements;

Removes all elements of receiver and notifies associated graph legend view with graphViewDidChangeGraphs:self


removeElement:

- (void) removeElement: (AFGraphElement*)element;

Removes element from the list of receiver's graph elements and notifies associated graph legend view with graphViewDidChangeGraphs:self


rulerColor

- (NSColor*) rulerColor;

Description forthcoming.


rulerFont

- (NSFont*) rulerFont;

Description forthcoming.


rulerSize

- (NSSize) rulerSize;

Description forthcoming.


rulerVisible

- (BOOL) rulerVisible;

Description forthcoming.


scalesGraphToFit

- (BOOL) scalesGraphToFit;

Return whether graph view scales graph window to fit all graph elements.


setAutosizesPadding:

- (void) setAutosizesPadding: (BOOL)flag;

Description forthcoming.


setAutosizesRuler:

- (void) setAutosizesRuler: (BOOL)flag;

Description forthcoming.


setBackgroundColor:

- (void) setBackgroundColor: (NSColor*)color;

Description forthcoming.


setDrawsBackground:

- (void) setDrawsBackground: (BOOL)flag;

Description forthcoming.


setDrawsGrid:

- (void) setDrawsGrid: (BOOL)flag;

If flag is YES then grid is drawn under the graph elements.


setElements:

- (void) setElements: (NSArray*)array;

Sets all elements of receiver to be array and notifies associated graph legend view with graphViewDidChangeGraphs:self


setGraph:

- (void) setGraph: (AFGraph*)aGraph;

Sets a graph to be displayed.


setGridColor:

- (void) setGridColor: (NSColor*)color;

Sets color of the grid.


setLegendVisible:

- (void) setLegendVisible: (BOOL)flag;

Description forthcoming.


setPaddingSize:

- (void) setPaddingSize: (NSSize)size;

Description forthcoming.


setRulerColor:

- (void) setRulerColor: (NSColor*)color;

Description forthcoming.


setRulerFont:

- (void) setRulerFont: (NSFont*)font;

Description forthcoming.


setRulerSize:

- (void) setRulerSize: (NSSize)size;

Set size


setRulerVisible:

- (void) setRulerVisible: (BOOL)flag;

Description forthcoming.


setScalesGraphToFit:

- (void) setScalesGraphToFit: (BOOL)flag;

If flag is YES then graph window is scaled to fit all graph elements. If set to NO, then graph window is used.


setTitle:

- (void) setTitle: (NSString*)aString;

Description forthcoming.


title

- (NSString*) title;

Description forthcoming.



Up