on 06-16-2018 4:05 PM
Hello All,
I am using a Lumira designer 2.0 SP1 and chart type is Column Chart. I have two columns in the chart for Measure 1 and Measure 2. I would like to change the colors of the columns individually. right now I have a code provided by one of our valuable member and it is working for me as a group of columns.
.customChart1 g.v-m-main g.v-m-plot g.v-plot-main g.v-datapoint-group .v-datapoint rect{fill: #808080}
Even I wrote few other codes mentioned in other blogs which are not working.Here is the code which is not working
.customChart1 g.v-column g.v-datashape:nth-child(1) rect.v-datapoint.v-morphable-datapoint {fill: yellow !important;}
.customChart1 g.v-column g.v-datashape:nth-child(2) rect.v-datapoint.v-morphable-datapoint {fill: blue;}
.customChart1 g.v-legend-content g.v-row.ID_0 path {fill: yellow;}
.customChart1 g.v-legend-content g.v-row.ID_1 path {fill: blue;}
It would be helpful if I get a list of css classes for all the charts or as well as other components and also I would like to know how to identify a class for a component.
HI in Lumira Designer 2.0 and onwards you can configure the colors when configuring the chart
1) In properties choose chart configuring
2) click on properties and the click on the column you need to change the color of
Or you can use the conditional formatting component to define the color for the chart
either on a dimension or an measure
http://visualbi.com/blogs/sap-lumira-designer/conditional-formatting-sap-lumira-designer/
for key figures (measures) choose for all values instead of selecting a larger or smaller than - then it will always keep the color you define. I find this solution more persistent when changing dimension and measures in the chart via a script
Br
René
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
8 | |
8 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.