Class RadarChart03
java.lang.Object
org.knowm.xchart.demo.charts.radar.RadarChart03
- All Implemented Interfaces:
ExampleChart<RadarChart>
Radar Chart with counter-clockwise layout
Demonstrates the following:
- Radar Chart drawing direction (issue #580)
- RadarStyler#setCounterClockwise
The radii are laid out clockwise by default (matching the common radar/spider chart convention). Here the labels 1..6 are laid out counter-clockwise instead.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizePanel(XChartPanel<RadarChart> panel) Optional hook for configuringXChartPanelinteraction features (tooltips, zoom, cursor) after the panel is created by the demo app.getChart()static void
-
Constructor Details
-
RadarChart03
public RadarChart03()
-
-
Method Details
-
main
-
getChart
- Specified by:
getChartin interfaceExampleChart<RadarChart>
-
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<RadarChart>- Parameters:
panel- the panel that was just created withExampleChart.getChart()
-
getExampleChartName
- Specified by:
getExampleChartNamein interfaceExampleChart<RadarChart>
-