public class SQPieChart extends SQChart
COLOR_BLUE, COLOR_GREEN, COLOR_RED, plType, title
Constructor and Description |
---|
SQPieChart()
Instantiates a new SQ pie chart.
|
SQPieChart(java.lang.String title)
Instantiates a new SQ pie chart.
|
Modifier and Type | Method and Description |
---|---|
org.jfree.chart.JFreeChart |
render()
Render.
|
void |
setValue(java.lang.Comparable key,
java.lang.Number value)
Sets the value.
|
void |
setValue(java.lang.Comparable key,
java.lang.Number value,
java.awt.Color color)
Sets the value.
|
setResultType
public SQPieChart()
public SQPieChart(java.lang.String title)
title
- the titlepublic void setValue(java.lang.Comparable key, java.lang.Number value)
key
- the keyvalue
- the valuepublic void setValue(java.lang.Comparable key, java.lang.Number value, java.awt.Color color)
key
- the keyvalue
- the valuecolor
- the color