on 11-25-2016 8:54 PM
Hi,
I want to use Harvey Ball Micro Chart to show multiple pie with different colors, but it only shows the color for first item. I have tried adding multiple color values to colorPalette as well as individual HarveyBallMicroChartItem but it does't work.
Following API documentation says: Colors from the palette are assigned to each slice consequentially.
Is this an existing issue with sap.suite.ui.microchart.HarveyBallMicroChart or something wrong with how I am using it ?
Please find attached code.
<mvc:View controllerName="sap.suite.ui.microchart.sample.HarveyBallMicroChart.HarveyBallMicroChart" xmlns="sap.suite.ui.microchart" xmlns:mvc="sap.ui.core.mvc"> <HarveyBallMicroChart size="M" total="100" totalScale="Mrd" colorPalette="#5cbae6, #b6d957, #ff0000" press="press"> <items> <HarveyBallMicroChartItem fraction="20" fractionScale="Mrd" /> <HarveyBallMicroChartItem fraction="30" fractionScale="Mrd" /> <HarveyBallMicroChartItem fraction="50" fractionScale="Mrd" /> </items> </HarveyBallMicroChart> </mvc:View>
Thanks,
Tarun
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.