Package org.knowm.xchart
Class RadarChart
public class RadarChart extends org.knowm.xchart.internal.chartpart.Chart<RadarStyler,RadarSeries>
-
Field Summary
Fields inherited from class org.knowm.xchart.internal.chartpart.Chart
annotations, axisPair, chartTitle, legend, plot, seriesMap, styler -
Constructor Summary
Constructors Constructor Description RadarChart(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 Type Method Description RadarSeriesaddSeries(String seriesName, double[] values)Add a series for a Radar type chartRadarSeriesaddSeries(String seriesName, double[] values, String[] tooltipOverrides)Add a series for a Radar type chartString[]getRadiiLabels()voidpaint(Graphics2D g, int width, int height)voidsetRadiiLabels(String[] radiiLabels)Sets the radii labelsMethods inherited from class org.knowm.xchart.internal.chartpart.Chart
addAnnotation, getHeight, 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:
paintin classorg.knowm.xchart.internal.chartpart.Chart<RadarStyler,RadarSeries>
-