Skip to Content
avatar image
Former Member

Formatting Charts - different color for second key figure CSS

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers