microsoft / powerbi-visuals-heatmap

powerbi-visuals-heatmap
MIT License
28 stars 27 forks source link

Color brewer does not allow reversing of the scale. #20

Open bigtoerag opened 6 years ago

bigtoerag commented 6 years ago

A common problem in dashboard standardisation is the color scales mapping to a common standard. If there is a 3 bucket scale of green/yellow/red then with some data points being large is good not bad we would want to keep the buckets and colors and just reverse it so its consistent.

Is this possible as it has been raised for Kibana on Elasticsearch and it works a charm so I am porting the requirement across for PowerBI.

zBritva commented 6 years ago

@bigtoerag Thanks for a feedback. We will consider the feature to reverse color scale for predefined color sets in a future version. Did you consider custom gradient colors?: image If you disable "Enable colorbrewer" option, the visual use gradient colors. And you can specify custom colors for the gradient.

girinpanda commented 6 years ago

@zBritva How about having a middle point for gradient color scale? For example I want red (negative) for the bottom while green (positive) for the top but still have a neutral color (e.g. white) in the middle? Is there a workaround for this?

zBritva commented 6 years ago

@girinpanda We added to the backlog of the visual. It will be implemented in the feature version.

girinpanda commented 6 years ago

@zBritva Also, are you going to consider the color scale to be manually adjusted? Like set the values for the scale?