[Bug] 'encode' fails in heatmap series with calendar coordinate system. dimensions works instead
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### What problem does this feature solve?
Hi,
it seems that currently the "calendar" coordinate system doesn't support any field to add a string to a date on a chart. This could be useful to add memos or notes to specific dates on the tooltip of charts like: scatter, effectScatter and graph,
### What does the proposed API look like?
Currenlty in Calendar.ts this dimensions are specified:
`
static getDimensionsInfo() {
return [{
name: 'time', type: 'time' as const
}, 'value'];
}
`
My proposal is to add a 'tooltip' or 'description' field to the data/dataset. This is a example of how should it be defined:
data: [['2025-01-01', 300, 'String']]
Contributor guide
Assessment
This issue has not been assessed yet.