Skip to Content
0

How to change color for Heat Map in Lumira Designer 2.0

Dec 08, 2017 at 08:38 AM

468

avatar image

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?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Lakshmikanth Adharapurapu Dec 08, 2017 at 09:35 AM
0

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


heatmap1.png (12.3 kB)
Show 3 Share
10 |10000 characters needed characters left characters exceeded

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

heat-map-1112.png (10.9 kB)
0

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

0

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

under Legend

Br

René

color-heat.png (28.2 kB)
0