Java Code Examples for org.jfree.chart.fx.ChartViewer#addChartMouseListener()
The following examples show how to use
org.jfree.chart.fx.ChartViewer#addChartMouseListener() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BarChartFXDemo1.java From openstock with GNU General Public License v3.0 | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }
Example 2
Source File: BarChartFXDemo1.java From jfree-fxdemos with BSD 3-Clause "New" or "Revised" License | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }
Example 3
Source File: BarChartFXDemo1.java From ccu-historian with GNU General Public License v3.0 | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }
Example 4
Source File: BarChartFXDemo1.java From SIMVA-SoS with Apache License 2.0 | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }
Example 5
Source File: BarChartFXDemo1.java From ECG-Viewer with GNU General Public License v2.0 | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }
Example 6
Source File: BarChartFXDemo1.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }
Example 7
Source File: BarChartFXDemo1.java From buffer_bci with GNU General Public License v3.0 | 5 votes |
/** * Adds a chart viewer to the stage and displays it. * * @param stage the stage. * @throws Exception if something goes wrong. */ @Override public void start(Stage stage) throws Exception { CategoryDataset dataset = createDataset(); JFreeChart chart = createChart(dataset); ChartViewer viewer = new ChartViewer(chart); viewer.addChartMouseListener(this); stage.setScene(new Scene(viewer)); stage.setTitle("JFreeChart: BarChartFXDemo1.java"); stage.setWidth(700); stage.setHeight(390); stage.show(); }