public final class PieChart2D extends Chart implements HTMLChartTestable
Modifier and Type | Field and Description |
---|---|
private float |
diameter |
private IPieChartDataSet |
iPieChartDataSet |
private PieChartDataProcessor |
pieChartDataProcessor |
private float |
pieX |
private float |
pieY |
private TextTagGroup |
textTagGroup |
Constructor and Description |
---|
PieChart2D(IPieChartDataSet iPieChartDataSet,
LegendProperties legendProperties,
ChartProperties chartProperties,
int pixelWidth,
int pixelHeight)
Constructor
|
Modifier and Type | Method and Description |
---|---|
(package private) static void |
render(PieChart2D pieChart2D)
Implement the method to render the Chart.
|
protected void |
renderChart()
Draws the chart
|
void |
toHTML(HTMLGenerator htmlGenerator,
String imageFileName)
Enables the testing routines to display the contents of this Object.
|
getBufferedImage, getChartProperties, getGenerateImageMapFlag, getGraphics2D, getImageHeight, getImageMap, getImageWidth, getLegend, hasLegend, render, renderChartTitle, renderWithImageMap, setGraphics2D, setImageMap, toHTML
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toHTML
private float pieX
private float pieY
private float diameter
private IPieChartDataSet iPieChartDataSet
private PieChartDataProcessor pieChartDataProcessor
private TextTagGroup textTagGroup
public PieChart2D(IPieChartDataSet iPieChartDataSet, LegendProperties legendProperties, ChartProperties chartProperties, int pixelWidth, int pixelHeight)
iPieChartDataSet
- legendProperties
- chartProperties
- general chart propertiespixelWidth
- pixelHeight
- protected void renderChart()
renderChart
in class Chart
static void render(PieChart2D pieChart2D)
pieChart2D
- public void toHTML(HTMLGenerator htmlGenerator, String imageFileName)
htmlGenerator
- imageFileName
-