org.jfree.chart.fx.demo
Class BarChartFXDemo1
- java.lang.Object
-
- javafx.application.Application
-
- org.jfree.chart.fx.demo.BarChartFXDemo1
-
- All Implemented Interfaces:
- ChartMouseListenerFX
public class BarChartFXDemo1 extends javafx.application.Application implements ChartMouseListenerFX
A demo showing the display of JFreeChart within a JavaFX application. For more information about the JFreeSVG vs Batik performance test, see this link: http://www.object-refinery.com/blog/blog-20140423.html
-
-
Constructor Summary
Constructors Constructor and Description BarChartFXDemo1()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidchartMouseClicked(ChartMouseEventFX event)Write the event to the console, just to illustrate.voidchartMouseMoved(ChartMouseEventFX event)Write the event to the console, just to illustrate.static voidmain(java.lang.String[] args)Entry point.voidstart(javafx.stage.Stage stage)Adds a chart viewer to the stage and displays it.
-
-
-
Method Detail
-
start
public void start(javafx.stage.Stage stage) throws java.lang.ExceptionAdds a chart viewer to the stage and displays it.- Specified by:
startin classjavafx.application.Application- Parameters:
stage- the stage.- Throws:
java.lang.Exception- if something goes wrong.
-
main
public static void main(java.lang.String[] args)
Entry point.- Parameters:
args- the command line arguments
-
chartMouseClicked
public void chartMouseClicked(ChartMouseEventFX event)
Write the event to the console, just to illustrate.- Specified by:
chartMouseClickedin interfaceChartMouseListenerFX- Parameters:
event- event info.
-
chartMouseMoved
public void chartMouseMoved(ChartMouseEventFX event)
Write the event to the console, just to illustrate.- Specified by:
chartMouseMovedin interfaceChartMouseListenerFX- Parameters:
event- event info.
-
-
DMelt 3.0 © DataMelt by jWork.ORG