Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

Chart Color Combination - Customize with CSS

$
0
0

Hi,

 

The Kind of Solution I am trying to achieve here is to have 3 different colors for 3 different Keyfigures plotted in a Column Chart. The Challenge is, all these 3 key figures are within a structure and obtained as a formula in BEx.

 

I am trying to use this CSS for the chart.. But it gives me the first 2 columns as Yellow and Orange.. it do not give me the 3rd color, that's number 1.

 

Again, I wanted the same color combination to repeat for Feb in the same sequence and then for March .. April and until Dec.. But it does not repeat for any of the months..

 

I tried to repeat the CSS statement for other months.. but it did not help.. Any ideas or suggestion here is much appreciated..

 

 

 

//Chart Alternate Column Color

 

.altc g.v-m-main g.v-m-plot g.v-column:nth-child(1) .v-datapoint.v-morphable-datapoint {fill: yellow;}

.altc g.v-m-main g.v-m-plot g.v-column:nth-child(2) .v-datapoint.v-morphable-datapoint {fill: orange;}

.altc g.v-m-main g.v-m-plot g.v-column:nth-child(3) .v-datapoint.v-morphable-datapoint {fill: light blue;}

 

 

 

 

Thanks

Krishanu


Viewing all articles
Browse latest Browse all 4041

Trending Articles