|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.sonar.api.charts.AbstractChart
@Deprecated public abstract class AbstractChart
Base implementation to generate charts with JFreechart
Field Summary | |
---|---|
static Color[] |
COLORS
Deprecated. |
static int |
FONT_SIZE
Deprecated. |
static Color |
GRID_COLOR
Deprecated. |
static Color |
OUTLINE_COLOR
Deprecated. |
Constructor Summary | |
---|---|
AbstractChart()
Deprecated. |
Method Summary | |
---|---|
protected void |
configureColors(org.jfree.data.Values2D dataset,
org.jfree.chart.plot.CategoryPlot plot,
String[] colorsHex)
Deprecated. Helper to set color of series. |
BufferedImage |
generateImage(ChartParameters params)
Deprecated. Generates a JFreeChart chart using a set of parameters |
protected abstract org.jfree.chart.plot.Plot |
getPlot(ChartParameters params)
Deprecated. |
protected boolean |
hasLegend()
Deprecated. |
String |
toString()
Deprecated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.sonar.api.charts.Chart |
---|
getKey |
Field Detail |
---|
public static final int FONT_SIZE
public static final Color OUTLINE_COLOR
public static final Color GRID_COLOR
public static final Color[] COLORS
Constructor Detail |
---|
public AbstractChart()
Method Detail |
---|
protected abstract org.jfree.chart.plot.Plot getPlot(ChartParameters params)
protected boolean hasLegend()
public BufferedImage generateImage(ChartParameters params)
generateImage
in interface Chart
params
- the chart parameters
public String toString()
toString
in class Object
protected void configureColors(org.jfree.data.Values2D dataset, org.jfree.chart.plot.CategoryPlot plot, String[] colorsHex)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |