public abstract class Options extends Object
All the methods from the Template class are included here. If set,
these method's values take precedence over those specified in the Template class.
Specific implementations of this class exist for each chart type.
Template
,
Chart
,
ChartFactory
Constructor and Description |
---|
Options() |
Modifier and Type | Method and Description |
---|---|
void |
setColors(Set<Color> colors) |
void |
setLegendPosition(LegendPosition position) |
void |
setNumberOfColumnsInTheLegend(int noColumns)
Deprecated.
Since 2.5.0, the number of columns in the legend always is 1.
|
void |
showGrid(boolean show) |
void |
showLegend(boolean show) |
void |
showTooltip(boolean show) |
public final void setColors(Set<Color> colors)
Template.setColors(Set)
public final void showLegend(boolean show)
Template.showLegend(boolean)
public final void setLegendPosition(LegendPosition position)
public final void setNumberOfColumnsInTheLegend(int noColumns)
public final void showGrid(boolean show)
Template.showGrid(boolean)
public final void showTooltip(boolean show)
Template.showTooltip(boolean)