amcharts / amcharts4

The most advanced amCharts charting library for JavaScript and TypeScript apps.
https://www.amcharts.com/
1.16k stars 322 forks source link

HeatRules - applying min/maxValue #1699

Closed piernik closed 5 years ago

piernik commented 5 years ago

I want to use heat map. Above certain value (3000 in example) I want bubles to be red, below let's say blue. I think I can use heatRules with minValue and maxValue but it does not seems to work.

Here is example: https://codepen.io/piernik/pen/WNeWYQQ?editors=0010

martynasma commented 5 years ago

Well, you have both min and max set to the same color:

  min: am4core.color('#ff0000'),
  max: am4core.color('#ff0000'),
piernik commented 5 years ago

I solved my issue differently - thanks for help!