- java.lang.Object
- 
- org.jooq.ChartFormat
 
- 
 public final class ChartFormat extends Object - Author:
- Lukas Eder
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classChartFormat.Displaystatic classChartFormat.OutputThe chart output format.static classChartFormat.Type
 - 
Field SummaryFields Modifier and Type Field Description static ChartFormatDEFAULT
 - 
Constructor SummaryConstructors Constructor Description ChartFormat()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intcategory()The category source column number.ChartFormatcategory(int newCategory)The new category source column number, defaulting to0.booleancategoryAsText()The category as text value.ChartFormatcategoryAsText(boolean newCategoryAsText)The new category as text value, defaulting totrue.ChartFormatdimensions(int newWidth, int newHeight)The new chart dimensions, defaulting to80 x 25.ChartFormat.Displaydisplay()The display format.ChartFormatdisplay(ChartFormat.Display newDisplay)The new display format, defaulting toChartFormat.Display.STACKED.intheight()The chart height.ChartFormatheight(int newHeight)The new chart height, defaulting to25.Stringnewline()The newline character.ChartFormatnewline(String newNewline)The new newline character, defaulting to\n.DecimalFormatnumericFormat()The numeric format.ChartFormatnumericFormat(DecimalFormat newNumericFormat)The new numeric format, defaulting to###,###.00.ChartFormat.Outputoutput()The output format.ChartFormatoutput(ChartFormat.Output newOutput)The new output format, defaulting toChartFormat.Output.ASCII.char[]shades()The value column shades.ChartFormatshades(char... newShades)The new column shades, defaulting to{ 'X' }.booleanshowHorizontalLegend()Whether to show the horizontal legend.ChartFormatshowHorizontalLegend(boolean newShowHorizontalLegend)Whether to show the horizontal legend, defaulting totrue.ChartFormatshowLegends(boolean newShowHorizontalLegend, boolean newShowVerticalLegend)Whether to show legends, defaulting totrue.booleanshowVerticalLegend()Whether to show the vertical legend.ChartFormatshowVerticalLegend(boolean newShowVerticalLegend)Whether to show the vertical legend, defaulting totrue.ChartFormat.Typetype()ChartFormattype(ChartFormat.Type newType)The new chart type, defaulting toChartFormat.Type.AREA.int[]values()The value source column numbers.ChartFormatvalues(int... newValues)The new value source column numbers, defaulting to{ 1 }.intwidth()The chart width.ChartFormatwidth(int newWidth)The new chart width, defaulting to80.
 
- 
- 
- 
Field Detail- 
DEFAULTpublic static final ChartFormat DEFAULT 
 
- 
 - 
Method Detail- 
outputpublic ChartFormat output(ChartFormat.Output newOutput) The new output format, defaulting toChartFormat.Output.ASCII.
 - 
outputpublic ChartFormat.Output output() The output format.
 - 
typepublic ChartFormat type(ChartFormat.Type newType) The new chart type, defaulting toChartFormat.Type.AREA.
 - 
typepublic ChartFormat.Type type() 
 - 
displaypublic ChartFormat display(ChartFormat.Display newDisplay) The new display format, defaulting toChartFormat.Display.STACKED.
 - 
displaypublic ChartFormat.Display display() The display format.
 - 
dimensionspublic ChartFormat dimensions(int newWidth, int newHeight) The new chart dimensions, defaulting to80 x 25.
 - 
widthpublic ChartFormat width(int newWidth) The new chart width, defaulting to80.
 - 
widthpublic int width() The chart width.
 - 
heightpublic ChartFormat height(int newHeight) The new chart height, defaulting to25.
 - 
heightpublic int height() The chart height.
 - 
categorypublic ChartFormat category(int newCategory) The new category source column number, defaulting to0.
 - 
categorypublic int category() The category source column number.
 - 
categoryAsTextpublic ChartFormat categoryAsText(boolean newCategoryAsText) The new category as text value, defaulting totrue.
 - 
categoryAsTextpublic boolean categoryAsText() The category as text value.
 - 
valuespublic ChartFormat values(int... newValues) The new value source column numbers, defaulting to{ 1 }.
 - 
valuespublic int[] values() The value source column numbers.
 - 
shadespublic ChartFormat shades(char... newShades) The new column shades, defaulting to{ 'X' }.
 - 
shadespublic char[] shades() The value column shades.
 - 
showLegendspublic ChartFormat showLegends(boolean newShowHorizontalLegend, boolean newShowVerticalLegend) Whether to show legends, defaulting totrue.
 - 
showHorizontalLegendpublic ChartFormat showHorizontalLegend(boolean newShowHorizontalLegend) Whether to show the horizontal legend, defaulting totrue.
 - 
showHorizontalLegendpublic boolean showHorizontalLegend() Whether to show the horizontal legend.
 - 
showVerticalLegendpublic ChartFormat showVerticalLegend(boolean newShowVerticalLegend) Whether to show the vertical legend, defaulting totrue.
 - 
showVerticalLegendpublic boolean showVerticalLegend() Whether to show the vertical legend.
 - 
newlinepublic ChartFormat newline(String newNewline) The new newline character, defaulting to\n.
 - 
newlinepublic String newline() The newline character.
 - 
numericFormatpublic ChartFormat numericFormat(DecimalFormat newNumericFormat) The new numeric format, defaulting to###,###.00.
 - 
numericFormatpublic DecimalFormat numericFormat() The numeric format.
 
- 
 
-