public class SQBarChart extends SQChart
Modifier and Type | Field and Description |
---|---|
boolean |
barLabelsVisible
The bar labels visible.
|
java.awt.Font |
domainAxisLabelFont
The domain axis label font.
|
org.jfree.chart.axis.CategoryLabelPositions |
domainAxisLabelPositions
The domain axis label positions.
|
boolean |
integerRangeAxis
The integer range axis.
|
boolean |
invertIfNegative
The invert if negative.
|
java.awt.Font |
rangeAxisLabelFont
The range axis label font.
|
java.lang.String |
xLegend
The x legend.
|
java.lang.String |
yLegend
The y legend.
|
COLOR_BLUE, COLOR_GREEN, COLOR_RED, plType, title
Constructor and Description |
---|
SQBarChart()
Instantiates a new SQ bar chart.
|
SQBarChart(java.lang.String title,
java.lang.String xLegend,
java.lang.String yLegend)
Instantiates a new SQ bar chart.
|
Modifier and Type | Method and Description |
---|---|
void |
invertIfNegative(boolean use)
Invert if negative.
|
org.jfree.chart.JFreeChart |
render()
Render.
|
void |
setBarLabelsVisible(boolean visible)
Sets the bar labels visible.
|
void |
setDomainAxisLabelFont(java.awt.Font font)
Sets the domain axis label font.
|
void |
setDomainAxisLabelPositions(org.jfree.chart.axis.CategoryLabelPositions position)
Sets the domain axis label positions.
|
void |
setIntegerRangeAxis(boolean use)
Sets the integer range axis.
|
void |
setRangeAxisLabelFont(java.awt.Font font)
Sets the range axis label font.
|
void |
setValue(java.lang.Number value,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Sets the value.
|
setResultType
public java.lang.String xLegend
public java.lang.String yLegend
public org.jfree.chart.axis.CategoryLabelPositions domainAxisLabelPositions
public java.awt.Font domainAxisLabelFont
public java.awt.Font rangeAxisLabelFont
public boolean invertIfNegative
public boolean barLabelsVisible
public boolean integerRangeAxis
public SQBarChart()
public SQBarChart(java.lang.String title, java.lang.String xLegend, java.lang.String yLegend)
title
- the titlexLegend
- the x legendyLegend
- the y legendpublic void setValue(java.lang.Number value, java.lang.Comparable rowKey, java.lang.Comparable columnKey)
value
- the valuerowKey
- the row keycolumnKey
- the column keypublic org.jfree.chart.JFreeChart render()
SQChart
public void setIntegerRangeAxis(boolean use)
use
- the new integer range axispublic void invertIfNegative(boolean use)
use
- the usepublic void setDomainAxisLabelPositions(org.jfree.chart.axis.CategoryLabelPositions position)
position
- the new domain axis label positionspublic void setDomainAxisLabelFont(java.awt.Font font)
font
- the new domain axis label fontpublic void setRangeAxisLabelFont(java.awt.Font font)
font
- the new range axis label fontpublic void setBarLabelsVisible(boolean visible)
visible
- the new bar labels visible