Skip to Content
0

How to set Geomaps, only with two colors instead of start and End color ?

Nov 09, 2016 at 11:53 AM

49

avatar image
Former Member

Hi All,

I have a requirement with Geomaps to display India states and to color the states with only two color Green and Red based on Percentage value. If Percentage is greater than 20% make as Red and less than 20 % make it as Green.

I am able to change only one color for only one state with my CSS.

.test path.sapzengeomap-region.Overdue.IN.MH{ fill:green; }

But rest of the states picks the start and end color. Any one has idea to solve this?

Find attached image, i used Geojason files for states.

Regards,

Ramesh

legend-color.png (199.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Tammy Powlas
Nov 09, 2016 at 12:02 PM
0

Ramesh - we learned at several conferences over the past few weeks that Design Studio does not have flexible geomap capabilities. You may want to consider the extensions for this https://analytics-extensions.enter.sap/

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Nov 09, 2016 at 01:06 PM
0

Hi Tammy,

Thank you. But Good news, i am able to solve this via script and css....Its working fine as desired.

Regards,

Ramesh

Share
10 |10000 characters needed characters left characters exceeded