A chart component for graphing an array of numeric data as a bar graph.
Constructor
new (?parent:DisplayObjectContainer, ?xpos:Float, ?ypos:Float, ?data:Array<Float>)
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
spacing:Float
Sets/gets the amount of space shown between each bar. If this is too wide, bars may become invisible.