Class RadarChart

    • Field Detail

      • variableLabels

        protected String[] variableLabels
    • Constructor Detail

      • RadarChart

        public RadarChart​(int width,
                          int height)
        Constructor - the default Chart Theme will be used (XChartTheme)
        Parameters:
        width -
        height -
      • RadarChart

        public RadarChart​(int width,
                          int height,
                          Theme theme)
        Constructor
        Parameters:
        width -
        height -
        theme - - pass in a instance of Theme class, probably a custom Theme.
      • RadarChart

        public RadarChart​(int width,
                          int height,
                          Styler.ChartTheme chartTheme)
        Constructor
        Parameters:
        width -
        height -
        chartTheme - - pass in the desired ChartTheme enum
      • RadarChart

        public RadarChart​(RadarChartBuilder chartBuilder)
        Constructor
        Parameters:
        chartBuilder -
    • Method Detail

      • addSeries

        public RadarSeries addSeries​(String seriesName,
                                     double[] values)
        Add a series for a Radar type chart
        Parameters:
        seriesName -
        values -
        Returns:
      • addSeries

        public RadarSeries addSeries​(String seriesName,
                                     double[] values,
                                     String[] tooltipOverrides)
        Add a series for a Radar type chart
        Parameters:
        seriesName -
        values -
        tooltipOverrides -
        Returns:
      • paint

        public void paint​(Graphics2D g,
                          int width,
                          int height)
        Specified by:
        paint in class org.knowm.xchart.internal.chartpart.Chart<RadarStyler,​RadarSeries>
      • getVariableLabels

        public String[] getVariableLabels()
      • setVariableLabels

        public void setVariableLabels​(String[] variableLabels)