pulseui
pulseui copied to clipboard
candlestick tooltip/axis formatter wrong
Default axisPointer doesn't account for dates/times/datetimes well. Example in screenshot. Discovered as part of: https://github.com/timestored/pulseui/issues/336 Taht full test dashboard should be checked on any underlying change.
...getTooltipDefaults(this.context.theme),
trigger: 'axis',
axisPointer: { type: 'cross', label: { precision:4, formatter:param => param.axisDimension==="x" ? timFormatter(new Date(param.value)) : SFormatters.defaultFormatter(param.value), } },
Formatters fixed: