Skip to Content

Set multiple color for Column Chart in SAP UI5

Hi,

I am working on developing a column chart in SAP UI5. How to set multiple color in Column chart. Is there any API availble for setting color in Column Chart.I am using a XML view.

Thanks and regards,

Karthik S

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Feb 14, 2017 at 08:53 AM

    for pie chart we have done it, not sure for column chart, but you can try this.

    aColors =[ '#00FF00','#FFC200','#FF0000' ];
    plotArea: {
      colorPalette : aColors
    } 

    you can try to set colorPalette property of plotArea property of chart from controller.

    -Akhilesh

    Add comment
    10|10000 characters needed characters exceeded