Skip to Content

Define colors when having more than 15 members to display in infochart

When selecting the colors on the properties for the infochart object, you can define up to 15 colors. But what if I have more than 15 members to display? How do I define member nr. 16 and up?

I could do it with css, but I need use a bubble chart to do my visualization, and here the nth child is not aligned between the legend order and the nth child order...

I have adjustet the CSS from this post, which works, but I still can't align the colors between the legend and the chart https://answers.sap.com/questions/53050/css-for-column-chart-with-3-measures.html

any suggestions to define colors when having more that 15 measures?

nthdcild.png (221.8 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Apr 02, 2017 at 09:38 PM

    Well, an "easy" alternative is to use the Chart component; but this is old technology in terms of Design Studio. But no CSS is required and you have more than 15 colors

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 03, 2017 at 06:02 AM

    Thank you Tammy, but the chart object is not possible when running 1.6 sp3 ui5 m mode.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 03, 2017 at 09:44 AM

    Could you define all 18 colours using CSS? That way you wouldn't care whether the order on the chart corresponds with the order in the legend.

    A.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Thomas Grandjean-Thomsen

      That's exactly it - bubbles appear at random places depending on the measure, not the legend. The order of your legend is specified by your data source (in your example it's members names in ascending order), but the bubbles will appear where they need to appear, according to the measure value, and it won't be in a particular order. So you can't define that the bubble on the furthest left will be pink, and the one in the middle will be red etc. because you don't know where they are going to appear. And this is what the native settings are doing as well - just fixing colours in the legend, but not for the bubbles.