public class BarChartFXDemo1 extends javafx.application.Application implements ChartMouseListenerFX
| Constructor and Description |
|---|
BarChartFXDemo1() |
| Modifier and Type | Method and Description |
|---|---|
void |
chartMouseClicked(ChartMouseEventFX event)
Write the event to the console, just to illustrate.
|
void |
chartMouseMoved(ChartMouseEventFX event)
Write the event to the console, just to illustrate.
|
static void |
main(java.lang.String[] args)
Entry point.
|
void |
start(javafx.stage.Stage stage)
Adds a chart viewer to the stage and displays it.
|
public BarChartFXDemo1()
public void start(javafx.stage.Stage stage) throws java.lang.Exception
start in class javafx.application.Applicationstage - the stage.java.lang.Exception - if something goes wrong.public static void main(java.lang.String[] args)
args - the command line argumentspublic void chartMouseClicked(ChartMouseEventFX event)
chartMouseClicked in interface ChartMouseListenerFXevent - event info.public void chartMouseMoved(ChartMouseEventFX event)
chartMouseMoved in interface ChartMouseListenerFXevent - event info.