Commit Graph

3 Commits

Author SHA1 Message Date
Evan Rusackas
65cfebd889 fix: remove unused StringConstructor from return type
Address review feedback from @michael-s-molina: Since the function
no longer returns String, remove StringConstructor from the return
type and update the misleading test description.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 21:55:14 -08:00
Evan Rusackas
6cb9819d10 fix(echarts): Apply D3 locale formatting to adaptive datetime x-axis
Fixes #31790

When the "Adaptive" datetime format option was selected for x-axis in ECharts
visualizations, the custom D3 locale settings (like localized month names) were
being ignored. This was because getXAxisFormatter() was returning undefined for
SMART_DATE_ID, causing ECharts to use its default formatter instead of the
configured D3 locale formatter.

The fix ensures that when SMART_DATE_ID is selected, the smart date formatter
with proper locale support is returned, allowing custom D3 time formats with
localized month and day names to work correctly with the adaptive option.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-02-05 21:55:13 -08:00
Michael S. Molina
af577d64b1 fix: Timeseries Y-axis format with contribution mode (#27106) 2024-02-14 09:41:22 -05:00