Class ThemeChart03
java.lang.Object
org.knowm.xchart.demo.charts.theme.ThemeChart03
- All Implemented Interfaces:
ExampleChart<XYChart>
Matlab Theme
Demonstrates the following:
- Building a Chart with ChartBuilder
- Applying the Matlab Theme to the Chart
- Generating Gaussian Bell Curve Data
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizePanel(XChartPanel<XYChart> panel) Optional hook for configuringXChartPanelinteraction features (tooltips, zoom, cursor) after the panel is created by the demo app.getChart()static void
-
Constructor Details
-
ThemeChart03
public ThemeChart03()
-
-
Method Details
-
main
-
getChart
- Specified by:
getChartin interfaceExampleChart<XYChart>
-
customizePanel
Description copied from interface:ExampleChartOptional hook for configuringXChartPanelinteraction features (tooltips, zoom, cursor) after the panel is created by the demo app. The default implementation does nothing. Override to enable hover tooltips, zoom, etc. for this example.- Specified by:
customizePanelin interfaceExampleChart<XYChart>- Parameters:
panel- the panel that was just created withExampleChart.getChart()
-
getExampleChartName
- Specified by:
getExampleChartNamein interfaceExampleChart<XYChart>
-