JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

Data series for Bar Chart

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicbarCreatorfunction(: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.

 
publicdataData[]

The bar chart data items in this series

publicgradientCreatorfunction(: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.

 
publicstrokePaint

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

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicfillPaint

The fill to use for this series and for this series's data items if the data item's fill is null

publicnameString

The user displayable name for this series

public-read protectedseriesDataData[]subclasssubclass

Sequence of data items that make up this series

Inherited Functions

javafx.scene.chart.data.Series

protected fireChange() : Void

Fire notification of a data change to listeners

Fire notification of a data change to listeners

 
protected fireVisualChange() : Void

Fire notification of a visual only change to listeners

Fire notification of a visual only change to listeners

 



Spec-Zone.ru - all specs in one place