Package org.knowm.xchart
Class RadarChart
java.lang.Object
org.knowm.xchart.internal.chartpart.Chart<RadarStyler,RadarSeries>
org.knowm.xchart.RadarChart
-
Field Summary
Fields inherited from class org.knowm.xchart.internal.chartpart.Chart
annotations, axisPair, chartTitle, legend, plot, seriesMap, styler
-
Constructor Summary
ConstructorDescriptionRadarChart
(int width, int height) Constructor - the default Chart Theme will be used (XChartTheme)RadarChart
(int width, int height, Styler.ChartTheme chartTheme) ConstructorRadarChart
(int width, int height, Theme theme) ConstructorRadarChart
(RadarChartBuilder radarChartBuilder) Constructor -
Method Summary
Modifier and TypeMethodDescriptionAdd a series for a Radar type chartAdd a series for a Radar type chartString[]
void
paint
(Graphics2D g, int width, int height) void
setRadiiLabels
(String[] radiiLabels) Sets the radii labelsMethods inherited from class org.knowm.xchart.internal.chartpart.Chart
addAnnotation, getChartXFromCoordinate, getChartYFromCoordinate, getChartYFromCoordinate, getHeight, getScreenXFromChart, getScreenYFromChart, getScreenYFromChart, getSeriesMap, getStyler, getTitle, getWidth, getXAxisTitle, getYAxisGroupTitle, getYAxisLeftWidth, getYAxisTitle, paintBackground, removeSeries, setCustomXAxisTickLabelsFormatter, setCustomYAxisTickLabelsFormatter, setHeight, setTitle, setWidth, setXAxisTitle, setYAxisGroupTitle, setYAxisTitle
-
Constructor Details
-
RadarChart
public RadarChart(int width, int height) Constructor - the default Chart Theme will be used (XChartTheme)- Parameters:
width
-height
-
-
RadarChart
Constructor- Parameters:
width
-height
-theme
- - pass in a instance of Theme class, probably a custom Theme.
-
RadarChart
Constructor- Parameters:
width
-height
-chartTheme
- - pass in the desired ChartTheme enum
-
RadarChart
Constructor- Parameters:
radarChartBuilder
-
-
-
Method Details
-
getRadiiLabels
-
setRadiiLabels
Sets the radii labels- Parameters:
radiiLabels
-
-
addSeries
Add a series for a Radar type chart- Parameters:
seriesName
-values
-- Returns:
-
addSeries
Add a series for a Radar type chart- Parameters:
seriesName
-values
-tooltipOverrides
-- Returns:
-
paint
- Specified by:
paint
in classorg.knowm.xchart.internal.chartpart.Chart<RadarStyler,
RadarSeries>
-