on 2018 Jan 23 9:29 AM
Hi All,
I have created a pie chart using sap viz library. My requirement is to add multiple properties from the data model in the tooltip when you hover over the section. I was able to achieve this by adding those properties as dimensions. However, the legend values also change (like AAA/India/10 - check the screenshot below) as I add further properties.
Is there any way I can omit the addition of the properties into the legend ?
Eg. in the screenshot above, the chart is between Store and Revenue. I want Country and Consumption to appear in tooltip but in the legend only Store name should appear.
jsBin sample code: http://jsbin.com/fevocidome/1/edit?html,js,output
Request clarification before answering.
Please check https://plnkr.co/edit/RYXNFq02OMh8pNoMNMXX?p=preview
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
54 | |
10 | |
9 | |
8 | |
5 | |
5 | |
5 | |
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.