Overview
Data item for Bar Chart
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | bar | Node |
The bar node to display for this data item. The bar node to display for this data item. The bar node needs to fill the area from the origin 0,0 to width, height.If null then the series barCreator is used to create the bar if that is also null then the charts barCreator is used. If there is no chart barCreator then a default bar is used. If this item has a action then its this bar node's responsibility to call that action on mouse and keyboard actions also to draw a highlight when it is "hover" or "focused". The bar should make its self focusable if it want to support focus and keyboard support. |
||||
public | category | String |
The category for this bar data item, categories are shown by default on the X axis |
||||
public-read protected | height | Number | subclass | subclass |
The height in display units for this bar |
||
public | stroke | Paint |
The stroke to use for the bar, if null then series stroke is used, if that is also null then default is used |
||||
public | value | Number |
The data value to be plotted on the Y axis |
||||
public-read protected | width | Number | subclass | subclass |
The width in display units for this bar |
Inherited Variables
javafx.scene.chart.data.Data
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | action | function():Void |
Action function is called when this data item is clicked on, providing the data item has a visual representation that can be clicked on in the given chart type |
||||
public | fill | Paint |
The fill paint to be used in painting this data item, if null then the series default will be used. The fill paint to be used in painting this data item, if null then the series default will be used. If that is also null then the default will be used |
||||
public-read protected | xDataValue | Object | subclass | subclass |
The generic data value to be plotted on the X axis |
||
public-read protected | yDataValue | Object | subclass | subclass |
The generic data value to be plotted on the Y axis |