Skip to content

Adding Treemaps in version 3.21.0 broke "Inverse" functionality for Distributed color Heatmap #2808

@jaks6

Description

@jaks6

Description

Inverse functionality seems to break since version 3.21.0 incase "Distributed" option is also used on a heatmap. The described issue does not exist in version 3.20.2!

Steps to Reproduce

  1. Create a heatmap in version 3.21.0 or newer, It needs to have plotOptions.heatmap.distributed - true. Example: https://codesandbox.io/s/apexcharts-examples-forked-9uzw0?file=/src/heatmap.js .
  2. Try to switch plotOptions.heatmap.colorScale.inverse between "true" and "false"

Expected Behavior

When toggling the inverse option, expect to see the coloring be row-based or column-based

Actual Behavior

Coloring remains column-based for both values.

Reproduction Link

https://codesandbox.io/s/apexcharts-examples-forked-9uzw0?file=/src/heatmap.js .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions