Skip to Content
0

InfoChart - change column colour with CSS no longer working

Feb 08, 2017 at 04:53 PM

77

avatar image

Hello,

I used to be able to change colours of individual bars in the old Chart component using the following CSS code:

.chart-style-1 g.v-m-main g.v-m-plot g.v-column:nth-child(1) .v-datapoint.v-morphable-datapoint {

fill: #aa005f;}

However, in InfoChart this feature is no longer working, and it's not possible to right-click on the chart to Inspect Element anymore. Can anyone please suggest an alternative solution?

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

2 Answers

Vidhya V Feb 09, 2017 at 03:11 PM
0

Hi Lukas,

In Desgin Studio, Chart & InfoChart component are different .So CSS cannot be same.

Please check this blog,

https://blogs.sap.com/2015/11/27/introducing-info-charts-in-design-studio-16/

Regards,

Vidhya.C

Share
10 |10000 characters needed characters left characters exceeded
Agata L. Feb 09, 2017 at 05:47 PM
0

Vidhya, many thanks for this, yes I have seen this blog. Unfortunately it doesn't explain how to change colour of just one column within the same series. But thanks anyway.

Share
10 |10000 characters needed characters left characters exceeded