swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular

Home Page:https://swimlane.github.io/ngx-charts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

Screenshots
image

Demo
https://stackblitz.com/~/github.com/james-curtis/ngx-charts-bug-heat-map-legend-color

ngx-charts version
20.5.0

Already fixed: Issue #1910 PR #1911