ChartTooltipOptions constructor
ChartTooltipOptions({
- bool enabled,
- String mode,
- bool intersect,
- dynamic backdropColor,
- String titleFontFamily,
- String titleFontStyle,
- num titleFontSize,
- dynamic titleFontColor,
- num titleSpacing,
- num titleMarginBottom,
- String bodyFontFamily,
- num bodyFontSize,
- String bodyFontStyle,
- dynamic bodyFontColor,
- num bodySpacing,
- num xPadding,
- num yPadding,
- num caretSize,
- num cornerRadius,
- String multiKeyBackground,
- ChartTooltipCallback callbacks,
- bool filter(
- ChartTooltipItem item
- num itemSort(
- ChartTooltipItem itemA,
- ChartTooltipItem itemB
- String position,
- num caretPadding,
- bool displayColors,
- dynamic borderColor,
- num borderWidth,
Implementation
external factory ChartTooltipOptions(
{bool enabled,
String mode,
bool intersect,
dynamic /*String|CanvasGradient|CanvasPattern|List<String>*/ backdropColor,
String titleFontFamily,
String titleFontStyle,
num titleFontSize,
dynamic /*String|CanvasGradient|CanvasPattern|List<String>*/ titleFontColor,
num titleSpacing,
num titleMarginBottom,
String bodyFontFamily,
num bodyFontSize,
String bodyFontStyle,
dynamic /*String|CanvasGradient|CanvasPattern|List<String>*/ bodyFontColor,
num bodySpacing,
String footerFontFamily,
num footerFontSize,
String footerFontStyle,
dynamic /*String|CanvasGradient|CanvasPattern|List<String>*/ footerFontColor,
num footerSpacing,
num footerMarginTop,
num xPadding,
num yPadding,
num caretSize,
num cornerRadius,
String multiKeyBackground,
ChartTooltipCallback callbacks,
bool Function(ChartTooltipItem item) filter,
num Function(ChartTooltipItem itemA, ChartTooltipItem itemB) itemSort,
String /*'average'|'nearest'*/ position,
num caretPadding,
bool displayColors,
dynamic /*String|CanvasGradient|CanvasPattern|List<String>*/ borderColor,
num borderWidth});