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 SummaryNested ClassesModifier and TypeClassDescriptionstatic enumstatic enumThe chart output format.static enum
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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- 
ChartFormatpublic ChartFormat()
 
- 
- 
Method Details- 
outputThe new output format, defaulting toChartFormat.Output.ASCII.
- 
outputThe output format.
- 
typeThe new chart type, defaulting toChartFormat.Type.AREA.
- 
type
- 
displayThe new display format, defaulting toChartFormat.Display.STACKED.
- 
displayThe display format.
- 
dimensionsThe new chart dimensions, defaulting to80 x 25.
- 
widthThe new chart width, defaulting to80.
- 
widthpublic int width()The chart width.
- 
heightThe new chart height, defaulting to25.
- 
heightpublic int height()The chart height.
- 
categoryThe new category source column number, defaulting to0.
- 
categorypublic int category()The category source column number.
- 
categoryAsTextThe new category as text value, defaulting totrue.
- 
categoryAsTextpublic boolean categoryAsText()The category as text value.
- 
valuesThe new value source column numbers, defaulting to{ 1 }.
- 
valuespublic int @NotNull [] values()The value source column numbers.
- 
shadesThe new column shades, defaulting to{ 'X' }.
- 
shadespublic char @NotNull [] shades()The value column shades.
- 
showLegends@NotNull public @NotNull ChartFormat showLegends(boolean newShowHorizontalLegend, boolean newShowVerticalLegend) Whether to show legends, defaulting totrue.
- 
showHorizontalLegendWhether to show the horizontal legend, defaulting totrue.
- 
showHorizontalLegendpublic boolean showHorizontalLegend()Whether to show the horizontal legend.
- 
showVerticalLegendWhether to show the vertical legend, defaulting totrue.
- 
showVerticalLegendpublic boolean showVerticalLegend()Whether to show the vertical legend.
- 
newlineThe new newline character, defaulting to\n.
- 
newlineThe newline character.
- 
numericFormatThe new numeric format, defaulting to###,###.00.
- 
numericFormatThe numeric format.
- 
percentFormatThe new numeric format for percentages, defaulting to###.00'%'.
- 
percentFormatThe numeric format for percentages.
 
-