public class CommonOptions
extends org.fujion.ancillary.Options
| Modifier and Type | Field and Description |
|---|---|
protected Double |
chartRangeMax
The maximum value to use for the range of Y values of the chart
|
protected Double |
chartRangeMin
The minimum value to use for the range of Y values of the chart.
|
Boolean |
disableHighlight
Set to true to disable the highlighting of individual values when mousing over a sparkline.
|
Boolean |
disableInteraction
Set to true to disable all sparkline interactivity.
|
Boolean |
disableTooltips
Set to true to disable mouseover tooltips.
|
protected String |
fillColor
The color used to fill the area under the graph as a CSS value.
|
String |
highlightColor
If specified, then values that are moused over will be changed to this color instead of being
lightend.
|
Double |
highlightLighten
Controls the amount to lighten or darken a value when moused over.
|
protected String |
lineColor
Used by line and discrete charts to specify the color of the line drawn as a CSS values
string.
|
Character |
numberDecimalMark
Character to use for the decimal point in numbers for l10n purposes.
|
Integer |
numberDigitGroupCount
Number of digits between the group separator in numbers for l10n purposes.
|
Character |
numberDigitGroupSep
Character to use for group separator in numbers "1,234" for l10n purposes.
|
String |
numberFormatter
Pass a javascript function to control how numbers are formatted in tooltips.
|
String |
tooltipChartTitle
If specified then the tooltip uses the string specified by this setting as a title.
|
String |
tooltipClassname
Specifies a CSS class name to apply to tooltips to override the default built-in style.
|
String[] |
tooltipFormat$array
A format array to control the format of the tooltips.
|
String |
tooltipFormat$string
A format string to control the format of the tooltip.
|
String |
tooltipFormatter
Pass a javascript function to use as a callback to override the HTML used to generate
tooltips.
|
Integer |
tooltipOffsetX
Specifies how many pixels away from the mouse pointer to render the tooltip on the X axis.
|
Double |
tooltipOffsetY
Specifies how many pixels away from the mouse pointer to render the tooltip on the Y axis.
|
String |
tooltipPrefix
A string to prepend to each field displayed in a tooltip.
|
String |
tooltipSkipNull
If true then null values will not have a tooltip displayed.
|
String |
tooltipSuffix
A string to append to each field displayed in a tooltip.
|
Map<String,String> |
tooltipValueLookups
An range map to map field values to tooltip strings.
|
protected SparklineType |
type
The type of sparkline.
|
| Constructor and Description |
|---|
CommonOptions() |
@Option protected SparklineType type
Default: LINE
@Option protected String lineColor
@Option protected String fillColor
@Option protected Double chartRangeMin
Default: the minimum value supplied
@Option protected Double chartRangeMax
Default: the maximum value supplied
@Option public Boolean disableInteraction
Default: false
@Option public Boolean disableTooltips
Default: false
@Option public Boolean disableHighlight
Default: false
@Option public Double highlightLighten
Default: 1.4
@Option public String highlightColor
@Option public String tooltipClassname
@Option public Integer tooltipOffsetX
@Option public Double tooltipOffsetY
@Option(convertTo=org.fujion.ancillary.JavaScript.class) public String tooltipFormatter
@Option public String tooltipChartTitle
@Option(value="tooltipFormat") public String[] tooltipFormat$array
@Option(value="tooltipFormat") public String tooltipFormat$string
@Option public String tooltipPrefix
@Option public String tooltipSuffix
@Option public String tooltipSkipNull
@Option public Map<String,String> tooltipValueLookups
@Option(convertTo=org.fujion.ancillary.JavaScript.class) public String numberFormatter
@Option public Character numberDigitGroupSep
Default: ','
@Option public Character numberDecimalMark
Default: '.'
@Option public Integer numberDigitGroupCount
Default: 3
Copyright © 2023 Fujion Framework. All rights reserved.