Heat map If max and min parameters are not passed, the colors of legend and heat grid will be inconsistent.
eric-gitta-moore opened this issue · comments
Describe the bug
Heat map If max and min parameters are not passed, the colors of legend and heat grid will be inconsistent.
To Reproduce
<ngx-charts-heat-map
*ngIf="chartType === 'heat-map'"
class="chart-container"
[legend]="true"
[view]="view"
[results]="multi"
>
Expected behavior
The legend color is consistent with the heat grid color.
Demo
https://stackblitz.com/~/github.com/james-curtis/ngx-charts-bug-heat-map-legend-color
ngx-charts version
20.5.0