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
Value not shown on 'coord' markPoint with time axis #20410
When having a series with a time based x-axis, 'coord' mark points values are undefined. Using a type 'max' markPoint, the value is shown. Using a formatter with the 'coord' markPoint, {c} is shown as undefined.
Expected Behavior
The value of the 'coord' markPoint should be shown just like with the 'max' type markPoint
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
Still reproduces in ECharts v6.1.0 (2026-10-20, Chromium 151):
Create a line chart with a time x-axis.
Add a markPoint defined by coord: ['2024-03-01', 198] with label.formatter: '{c}'.
The pin label renders as undefined instead of 198.
Same chart with label.formatter: p => p.data.coord[1] renders 198 correctly.
The {c} template variable is not populated for coord-based markPoints on a time axis — params.value is undefined; data.coord[1] is correctly set. Workaround: use the function form.
Activity
helgasoft commentedon Oct 15, 2024
yes, value is not set for
format:'{c}'- it's a bug.workaround is to use
formatter: x => {return x.data.coord[1];}github-actions commentedon Oct 16, 2026
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
scenerecap commentedon Oct 20, 2026
Still reproduces in ECharts v6.1.0 (2026-10-20, Chromium 151):
markPointdefined bycoord: ['2024-03-01', 198]withlabel.formatter: '{c}'.undefinedinstead of198.label.formatter: p => p.data.coord[1]renders198correctly.The
{c}template variable is not populated for coord-based markPoints on a time axis —params.valueisundefined;data.coord[1]is correctly set. Workaround: use the function form.Recording with timestamps: https://scenerecap.com/s/ixqgikw2h9