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

expand all

Profile: desktop, common

Overview

Data item for Bar Chart

Variable Summary

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicbarNode

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.

 
publiccategoryString

The category for this bar data item, categories are shown by default on the X axis

public-read protectedheightNumbersubclasssubclass

The height in display units for this bar

publicstrokePaint

The stroke to use for the bar, if null then series stroke is used, if that is also null then default is used

publicvalueNumber

The data value to be plotted on the Y axis

public-read protectedwidthNumbersubclasssubclass

The width in display units for this bar

Inherited Variables

javafx.scene.chart.data.Data

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicactionfunction():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

publicfillPaint

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 protectedxDataValueObjectsubclasssubclass

The generic data value to be plotted on the X axis

public-read protectedyDataValueObjectsubclasssubclass

The generic data value to be plotted on the Y axis

Inherited Functions

javafx.scene.chart.data.Data

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