Class PieSeries


  • public class PieSeries
    extends org.knowm.xchart.internal.series.Series
    A Series containing Pie data to be plotted on a Chart
    Author:
    timmolter
    • Constructor Detail

      • PieSeries

        public PieSeries​(String name,
                         Number value)
        Constructor
        Parameters:
        name -
        value -
    • Method Detail

      • replaceData

        public void replaceData​(Number value)
        *This is an internal method which shouldn't be called from client code. Use PieChart.updatePieSeries instead!
        Parameters:
        value -
      • getValue

        public Number getValue()
      • setValue

        public void setValue​(Number value)
      • getLegendRenderType

        public org.knowm.xchart.internal.chartpart.RenderableSeries.LegendRenderType getLegendRenderType()
        Specified by:
        getLegendRenderType in class org.knowm.xchart.internal.series.Series
      • getToolTip

        public String getToolTip()
      • setToolTip

        public void setToolTip​(String toolTip)