pulseui icon indicating copy to clipboard operation
pulseui copied to clipboard

candlestick tooltip/axis formatter wrong

Open ryanhamilton opened this issue 5 months ago • 1 comments

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), } },
Image

ryanhamilton avatar Jul 13 '25 14:07 ryanhamilton

Formatters fixed:

Image

ryanhamilton avatar Jul 13 '25 21:07 ryanhamilton