scenerecap commented on issue #20410:
URL: https://github.com/apache/echarts/issues/20410#issuecomment-6289596258

   Still reproduces in ECharts v6.1.0 (2026-10-20, Chromium 151):
   
   1. Create a line chart with a time x-axis.
   2. Add a `markPoint` defined by `coord: ['2024-03-01', 198]` with 
`label.formatter: '{c}'`.
   3. The pin label renders as `undefined` instead of `198`.
   4. 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.
   
   Recording with timestamps: https://scenerecap.com/s/ixqgikw2h9
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to