Skip to content

Function: useChartUITokens()

useChartUITokens(): ChartUITokens

Hook to get the chart UI tokens (axis text, titles, grid lines) with automatic updates on theme change. Pass the result into the ECharts option builders so axis labels, lines, legends, and titles follow the active theme.

ChartUITokens