Skip to content

Legend for Clustergrammer JS doesnt get updated on Defining Custom Tile Colors #52

Description

@mayankmusaddi

When the tile_colors field in the argument was set to a different color, the heatmap generated gets updated however the legend always shows the colors red and blue only as is evident in the image,

clustergrammerColor

Ways to reproduce

var args = {
    root: chartid,
    network_data: data,
    tile_colors: ["#ED9124", "#00FF00"],
  };

cgm = Clustergrammer(args);

When using the above piece of code in a JS file to generate the heatmap, the tile colors gets updated however the legend remains the same.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions