You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] axisLabel.formatter function (value, index) doesn't receive index numbers when using customValues #21216
If using customValues for axisTick and axisLabel on xAxis of type: 'value', the axisLabel.formatter callback function doesn't receive index and instead only receives value. See demo which has a console.log statement called in the formatter function to see the value of the index (nothing will actually load on the chart due to the error it encounters in the formatter, but if you comment out formatter the chart will load fine).
Current Behavior
index is undefined.
Expected Behavior
index has a value based on the array used for customValues.
Activity
szymonpachucki commentedon Aug 24, 2025
Looking into it