ChartTooltip constructor
ChartTooltip({
- bool show = true,
- TooltipTrigger? trigger = TooltipTrigger.item,
- AxisPointer? axisPointer,
- String? formatter,
- double? showDelay,
- double? hideDelay,
- double? transitionDuration,
- bool? enterable,
- bool? confine,
- TooltipRenderMode? renderMode = TooltipRenderMode.html,
- String? backgroundColor,
- String? borderColor,
- double? borderWidth,
- double? borderRadius,
- double? padding,
- ChartTextStyle? textStyle,
- String? extraCssText,
- bool numberFormat = false,
- String textColor = 'black',
- int? precision,
- double? fontSize,
Implementation
ChartTooltip({
this.show = true,
this.trigger = TooltipTrigger.item,
this.axisPointer,
this.formatter,
this.showDelay,
this.hideDelay,
this.transitionDuration,
this.enterable,
this.confine,
this.renderMode = TooltipRenderMode.html,
this.backgroundColor,
this.borderColor,
this.borderWidth,
this.borderRadius,
this.padding,
this.textStyle,
this.extraCssText,
this.numberFormat = false,
this.textColor = 'black',
this.precision,
this.fontSize,
});