Graph IDE ► Programming ► Single Coordinate Graph
The following is a complete script for programming a Single Coordinate Graph. It places a Function onto the graph and then autoscales the graph.
|
The general API is define in the section Graphic. The following is API description specific to the Single Coordinate Graph graphic.
@@method(public, instance) (void)autoscale;
| |
Call like this:
Autoscales the receiver. | |
@@method(public, instance) (void)focus;
| |
Call like this:
Sets the focused layer to the receiver's foreground data layer. After this call any graphics that are inserted or appended are done so to the graph's foreground data layer. | |
@@method(public, instance) (void)unfocus;
| |
Call like this:
Sets the focused layer to the layer that the receiver is in. After this call any graphics that are inserted or appended are done so to the same layer as the graph. | |
@@method(public, instance) (void)updateMainTitleToUFT8String:(const char *)aUTF8String;
| |
Call like this:
Sets the main title of the graph. | |
@@method(public, instance) (void)updateXTitleToUFT8String:(const char *)aUTF8String;
| |
Call like this:
Sets the x-axis title of the graph. | |
@@method(public, instance) (void)updateYTitleToUFT8String:(const char *)aUTF8String;
| |
Call like this:
Sets the y-axis title of the graph. |