Download: Modify Pie
This article explains how to modify pie charts to highlight the selected slice.
The following steps will walk through the process of adding a language selection menu at the top right of the web page.
Step 1 - Add the Plugin
Download the attachment and unzip the contents into your C:\Program Files\Sisense\PrismWeb\plugins\ folder. If you are using version 7.2 and higher unzip the contents into your C:\Program Files\Sisense\app\plugins\ folder. If the plugins folder doesn't exist, just create it. After those files have been unzipped there, you may also have to restart the web server.
Step 2 - Update Pie Chart
Go to the widget editor for any existing pie chart and click on the settings icon. You should see a new option to Highlight Selected. Once selecting this, you may have to click the green APPLY button and reload the dashboard before you see the changes take affect.
- The highlight color can be adjusted by opening modifyPie.js and changing the borderColor and borderWidth properties. The color can be either a hex code or an HTML friendly name, while the border width is a number in pixels to determine the thickness of the highlight line.
Please sign in to leave a comment.