Skip to Content
0

Formatting Charts - different color for second key figure CSS

Mar 13 at 03:27 PM

47

avatar image
Former Member

Hallo experts,

i am currently trying to colorize the second value of a datagroup in a different color than the first datagroup in CSS. However, i only manage to format the whole datagroup.

Chart

I tried it with:

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

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

My goal would be to format like the datagroups below.

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

0 Answers