Skip to Content
0

Set multiple color for Column Chart in SAP UI5

Feb 14, 2017 at 07:35 AM

53

avatar image

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

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

1 Answer

Akhilesh Upadhyay Feb 14, 2017 at 08:53 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded