apache / apache/echarts

[Feature] Cursor change option for Heatmaps

Open
#20,569 0 comments 0 reactions 0 assignees View on GitHub
en new-feature
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

Currently (v^5.4.1), the bar and line chart types have cursor change option. It would be really helpful to have cursor change option on the heatmap, and others.

### What does the proposed API look like?

```
{
type: 'heatmap' ,
id ... ,
name ... ,
coordinateSystem: 'cartesian2d' ,
xAxisIndex: 0 ,
yAxisIndex: 0 ,
geoIndex: 0 ,
calendarIndex: 0 ,
pointSize: 20 ,
blurSize: 20 ,
minOpacity: 0 ,
maxOpacity: 1 ,
cursor: 'pointer'
}
```

Contributor guide

Open the contributing guide

Research direction

Compare how the existing bar and line chart types expose their cursor change option, then inspect the heatmap series configuration. Done means the proposed cursor: 'pointer' option is accepted for heatmaps and changes the cursor as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.