Overview
Data series for Bar Chart
Variable Summary
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | barCreator | function(:Series,:int,:Data):Node |
The barCreator factory to create bar nodes for the data items in this series. The barCreator factory to create bar nodes for the data items in this series. If the data item has a explicitly set bar then that is used in preference. If null then the charts barCreator is used, if there is no chart barCreator then a default bar is used. If the data item has a action it is the bars node created here's responsibility to call that action on mouse and keyboard actions also to draw a highlight using Chart.hoverStroke and Chart.hoverStrokeWidth when it is "hover" or "focused". The bar should make its self focusable if it want to support focus and keyboard support. |
||||
public | data | Data[] |
The bar chart data items in this series |
||||
public | gradientCreator | function(:Series,:int,:Data,:Paint):Paint |
Function to take a series fill color and create a greadient for filling the bar. Function to take a series fill color and create a greadient for filling the bar. if null then the chart gradientCreator is used, if that is also null then the default gradient is used. |
||||
public | stroke | Paint |
The stroke to use for the bars in this series, if the stroke is set on a indervidual bar then that is used in preferance to this stroke. The stroke to use for the bars in this series, if the stroke is set on a indervidual bar then that is used in preferance to this stroke. if null then chart barStroke is used, if that is also null then default is used |
Inherited Variables
javafx.scene.chart.data.Series
access | name | type | Can Read | Can Init | Can Write | Default Value | description |
---|---|---|---|---|---|---|---|
public | fill | Paint |
The fill to use for this series and for this series's data items if the data item's fill is null |
||||
public | name | String |
The user displayable name for this series |
||||
public-read protected | seriesData | Data[] | subclass | subclass |
Sequence of data items that make up this series |