java.lang.Object
org.jooq.ChartFormat
A CSV formatting type, which can be used to configure chart exports.
 
 The type is immutable, meaning calls to setters like width(int) do
 not modify the original reference, but return a new one instead.
- Author:
 - Lukas Eder
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enumThe chart output format.static enum - 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintcategory()The category source column number.@NotNull ChartFormatcategory(int newCategory) The new category source column number, defaulting to0.booleanThe category as text value.@NotNull ChartFormatcategoryAsText(boolean newCategoryAsText) The new category as text value, defaulting totrue.@NotNull ChartFormatdimensions(int newWidth, int newHeight) The new chart dimensions, defaulting to80 x 25.@NotNull ChartFormat.Displaydisplay()The display format.@NotNull ChartFormatdisplay(ChartFormat.Display newDisplay) The new display format, defaulting toChartFormat.Display.STACKED.intheight()The chart height.@NotNull ChartFormatheight(int newHeight) The new chart height, defaulting to25.@NotNull Stringnewline()The newline character.@NotNull ChartFormatThe new newline character, defaulting to\n.@NotNull DecimalFormatThe numeric format.@NotNull ChartFormatnumericFormat(DecimalFormat newNumericFormat) The new numeric format, defaulting to###,###.00.@NotNull ChartFormat.Outputoutput()The output format.@NotNull ChartFormatoutput(ChartFormat.Output newOutput) The new output format, defaulting toChartFormat.Output.ASCII.@NotNull DecimalFormatThe numeric format for percentages.@NotNull ChartFormatpercentFormat(DecimalFormat newPercentFormat) The new numeric format for percentages, defaulting to###.00'%'.char @NotNull []shades()The value column shades.@NotNull ChartFormatshades(char... newShades) The new column shades, defaulting to{ 'X' }.booleanWhether to show the horizontal legend.@NotNull ChartFormatshowHorizontalLegend(boolean newShowHorizontalLegend) Whether to show the horizontal legend, defaulting totrue.@NotNull ChartFormatshowLegends(boolean newShowHorizontalLegend, boolean newShowVerticalLegend) Whether to show legends, defaulting totrue.booleanWhether to show the vertical legend.@NotNull ChartFormatshowVerticalLegend(boolean newShowVerticalLegend) Whether to show the vertical legend, defaulting totrue.@NotNull ChartFormat.Typetype()@NotNull ChartFormattype(ChartFormat.Type newType) The new chart type, defaulting toChartFormat.Type.AREA.int @NotNull []values()The value source column numbers.@NotNull ChartFormatvalues(int... newValues) The new value source column numbers, defaulting to{ 1 }.intwidth()The chart width.@NotNull ChartFormatwidth(int newWidth) The new chart width, defaulting to80. 
- 
Field Details
- 
DEFAULT
 
 - 
 - 
Constructor Details
- 
ChartFormat
public ChartFormat() 
 - 
 - 
Method Details
- 
output
The new output format, defaulting toChartFormat.Output.ASCII. - 
output
The output format. - 
type
The new chart type, defaulting toChartFormat.Type.AREA. - 
type
 - 
display
The new display format, defaulting toChartFormat.Display.STACKED. - 
display
The display format. - 
dimensions
The new chart dimensions, defaulting to80 x 25. - 
width
The new chart width, defaulting to80. - 
width
public int width()The chart width. - 
height
The new chart height, defaulting to25. - 
height
public int height()The chart height. - 
category
The new category source column number, defaulting to0. - 
category
public int category()The category source column number. - 
categoryAsText
The new category as text value, defaulting totrue. - 
categoryAsText
public boolean categoryAsText()The category as text value. - 
values
The new value source column numbers, defaulting to{ 1 }. - 
values
public int @NotNull [] values()The value source column numbers. - 
shades
The new column shades, defaulting to{ 'X' }. - 
shades
public char @NotNull [] shades()The value column shades. - 
showLegends
@NotNull public @NotNull ChartFormat showLegends(boolean newShowHorizontalLegend, boolean newShowVerticalLegend) Whether to show legends, defaulting totrue. - 
showHorizontalLegend
Whether to show the horizontal legend, defaulting totrue. - 
showHorizontalLegend
public boolean showHorizontalLegend()Whether to show the horizontal legend. - 
showVerticalLegend
Whether to show the vertical legend, defaulting totrue. - 
showVerticalLegend
public boolean showVerticalLegend()Whether to show the vertical legend. - 
newline
The new newline character, defaulting to\n. - 
newline
The newline character. - 
numericFormat
The new numeric format, defaulting to###,###.00. - 
numericFormat
The numeric format. - 
percentFormat
The new numeric format for percentages, defaulting to###.00'%'. - 
percentFormat
The numeric format for percentages. 
 -