cancel
Showing results for 
Search instead for 
Did you mean: 

How to change color for Heat Map in Lumira Designer 2.0

0 Kudos

In Lumira Designer 2.0 for Heat Map there are no properties for changing colors. By default, the blue color palette is displayed.

How to change color for HEAT Map in Lumira Designer 2.0?

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member276213
Active Participant
0 Kudos

Hi

I have used below css to change the color for heat map, but you can try this.Please see the attachment heatmap1.png

.color g.v-m-main g.v-m-plot g.v-plot-main g.v-datapoint-group .v-datapoint:nth-child(1) rect { fill: #006400; }

.color g.v-m-main g.v-m-plot g.v-plot-main g.v-datapoint-group .v-datapoint:nth-child(2) rect { fill: #DC143C; }

.color g.v-m-main g.v-m-plot g.v-plot-main g.v-datapoint-group .v-datapoint:nth-child(3) rect { fill: #008B8B; }

.color g.v-m-main g.v-m-plot g.v-plot-main g.v-datapoint-group .v-datapoint:nth-child(4) rect { fill: #483D8B; }

Above Css is enhanced based on the Mustafa's suggestion mentioned in the thread 'https://archive.sap.com/discussions/thread/3965481

At least for me it looks like a product issue with this map, i have tried changing for this map color using standard formatting options also tried changing the color using conditional formatting but could not succeeded, hope you need to put this in Sap idea place .

BR,

Lakshmikanth Adharapurapu

0 Kudos

Hi,

Many thanks for the code, but it changes the specific Heath Map positions without the built-in standard algorithm with color gradation (the higher the value, the darker). Using the code, we can indicate that the 1st is red, the second is blue, and so on.

For example, in Lumira Discovery, you can change the color palette Heat Map in properties, and Lumira Designer does not have this property (

I thought that using the script code you can tie the colors to the conditions - for example, red, if the biggest value, and light red - the smallest.

Best regards, Yulia

former_member276213
Active Participant
0 Kudos

Hi Yulia,

Unfortunately there is a limitation on heat map figures related to conditional formatting, column chart conditional formatting works if we we define exception in bex(in case if your data source is bex) and we turn on conditional formatting,it inherits that condition from bex exception.

Alternatively you can go with any partner SDK extensions.

BR,

Lakshmikanth

former_member234401
Active Participant
0 Kudos

Hi I am using Designer 2.1 SP01 and you can configure the color in the chart configuration

under Legend

Br

René