echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Feature] Be able to set the cell's backgroundColor when chart type is heatmap

Open Monica-321 opened this issue 3 months ago • 1 comments

What problem does this feature solve?

When I use the Heatmap chart, i need to set a backgroundColor when cell's value is null

What does the proposed API look like?

{ type: 'heatmap', data: chartData, itemStyle: { backgroundColor: '#A8A8A8', }, ... }

Monica-321 avatar Dec 02 '25 02:12 Monica-321

oh I find that if i use splitArea: { show: true, areaStyle: { color: ['#ccc'], }, }, in yAxis, it may behave like what i want!

Monica-321 avatar Dec 02 '25 02:12 Monica-321