public class TooltipOptions extends Options
| Modifier and Type | Field and Description |
|---|---|
DateTimeFormatOptions |
dateTimeLabelFormats
For series on a datetime axes, the date format in the tooltip's header will by default be
guessed based on the closest data points.
|
Boolean |
followPointer
Whether the tooltip should follow the mouse as it moves across columns, pie slices and other
point types with an extent.
|
Boolean |
followTouchMove
Whether the tooltip should follow the finger as it moves on a touch device.
|
String |
footerFormat
A string to append to the tooltip format.
|
String |
headerFormat
The HTML of the tooltip header line.
|
Integer |
hideDelay
The number of milliseconds to wait until the tooltip is hidden when mouse out from a point or
chart.
|
Integer |
padding
Padding inside the tooltip, in pixels.
|
String |
pointerFormatter
A callback function for formatting the HTML output for a single point in the tooltip.
|
String |
pointFormat
The HTML of the point's line in the tooltip.
|
Boolean |
split
Split the tooltip into one label per series, with the header close to the axis.
|
Integer |
valueDecimals
How many decimals to show in each series' y value.
|
String |
valuePrefix
A string to prepend to each series' y value.
|
String |
valueSuffix
A string to append to each series' y value.
|
String |
xDateFormat
The format for the date in the tooltip header if the X axis is a datetime axis.
|
| Constructor and Description |
|---|
TooltipOptions() |
@Option public final DateTimeFormatOptions dateTimeLabelFormats
@Option public Boolean followPointer
followTouchMove must be true also. Defaults to undefined.@Option public Boolean followTouchMove
@Option public String footerFormat
@Option public String headerFormat
<span style="font-size: 10px">{point.key}</span><br/>.@Option public Integer hideDelay
@Option public String pointFormat
<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>.@Option(convertTo=org.fujion.ancillary.JavaScript.class) public String pointerFormatter
@Option public Boolean split
@Option public Integer valueDecimals
@Option public String valuePrefix
@Option public String valueSuffix
Copyright © 2018 Fujion Framework. All rights reserved.