on 12-17-2015 7:13 AM
Hi Experts,
Can you please send the javascript code for micro chart with Color Palette.
Thanks,
Sandeep
Hi Sandeep,
Just pass it with color codes in array form of colorPalette property -
new sap.suite.ui.commons.ComparisonChart({colorPalette:["#0089C4","#0008C4"]});
Regards,
Sai Vellanki.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the below code to play around with colors in SAPUI5 charts:
plotArea: {
//'colorPalette' : d3.scale.category20().range()
colorPalette :
[
'#00FF00','#FFC200','#FF0000'
]
You can give any color code that you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.