Package org.knowm.xchart
Class PieSeries
- java.lang.Object
-
- org.knowm.xchart.internal.series.Series
-
- org.knowm.xchart.PieSeries
-
public class PieSeries extends org.knowm.xchart.internal.series.Series
A Series containing Pie data to be plotted on a Chart- Author:
- timmolter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PieSeries.PieSeriesRenderStyle
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PieSeries.PieSeriesRenderStyle
getChartPieSeriesRenderStyle()
org.knowm.xchart.internal.chartpart.RenderableSeries.LegendRenderType
getLegendRenderType()
String
getToolTip()
Number
getValue()
void
replaceData(Number value)
*This is an internal method which shouldn't be called from client code.PieSeries
setChartPieSeriesRenderStyle(PieSeries.PieSeriesRenderStyle chartPieSeriesRenderStyle)
void
setToolTip(String toolTip)
void
setValue(Number 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
-
-
getChartPieSeriesRenderStyle
public PieSeries.PieSeriesRenderStyle getChartPieSeriesRenderStyle()
-
setChartPieSeriesRenderStyle
public PieSeries setChartPieSeriesRenderStyle(PieSeries.PieSeriesRenderStyle chartPieSeriesRenderStyle)
-
getValue
public Number getValue()
-
setValue
public void setValue(Number value)
-
getLegendRenderType
public org.knowm.xchart.internal.chartpart.RenderableSeries.LegendRenderType getLegendRenderType()
- Specified by:
getLegendRenderType
in classorg.knowm.xchart.internal.series.Series
-
getToolTip
public String getToolTip()
-
setToolTip
public void setToolTip(String toolTip)
-
-