A base chart component for graphing an array of numeric data.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?data:Array<Dynamic>)
Constructor
Parameters:
parent | The parent DisplayObjectContainer on which to add this Label. |
---|---|
xpos | The x position to place this component. |
ypos | The y position to place this component. |
data | The array of numeric values to graph. |
Variables
autoScale:Bool
Sets/gets whether the graph will automatically set its own max and min values based on the data values.
showScaleLabels:Bool
Sets/gets whether or not labels for max and min graph values will be shown. Note: these labels will be to the left of the x position of the chart. Chart position may need adjusting.