on 2017 Oct 26 3:10 PM
I wanted to change the standard Color Palette for the component Chart using CSS in Lumira Designer 2.0, but I did not succeed.
I customized my colors for the Chart columns in the Chart properties, but with some user actions (for example, when switching a Chart Type), colors automatically change to a standard palette. So I want to change them.
Standard Color Pallete for component Chart: https://experience.sap.com/fiori-design-web/v1-34/values-and-names/
And how change color pallete for the component Chart - Type = Heat Map?
And my situation ( After clicking on the icons, the color becomes standard, and initially it was as above.
I read a lot of articles on color change in DS 1.6, looked at classes in CSS, but I could not change the colors (
I try:
1)
#INFOCHART_COMPCODE_control_container .v-datapoint-group>g:first-child>g:last-child rect{
fill:#d3d3d3!important;
}
2)
.colChart g.v-column g.v-datashape:nth-child(1) rect.v-datapoint.v-morphable-datapoint {fill: #41477E;}
.colChart g.v-column g.v-datashape:nth-child(2) rect.v-datapoint.v-morphable-datapoint {fill: #BAC7F3;}
.colChart g.v-column g.v-datashape:nth-child(3) rect.v-datapoint.v-morphable-datapoint {fill: #990000;}
.colChart g.v-legend-content g.v-row.ID_0 path {Fill:#41477E;stroke:black;stroke-width:1px;}
.colChart g.v-legend-content g.v-row.ID_1 path {Fill:#BAC7F3;stroke:black;stroke-width:1px;}
.colChart g.v-legend-content g.v-row.ID_2 path {Fill:#990000;stroke:black;stroke-width:1px;}
3) And string from CSS, and !important and more..Hi Guys,
i am struggeling with the same issue. As there is no way to change the standard palette, i changed the colors via CSS. Unfortunately the legend colors must be defined separatly. And as a result the order of the colors in the legend does not fit to the colors of my chart.
So if there will be an update please share.
BR,
Eva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.