cancel
Showing results for 
Search instead for 
Did you mean: 
intapiuser
Community Team Member
Community Team Member

Download: Modify Pie
Introduction
This article explains how to modify pie charts to highlight the selected slice.
Steps
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.
 
Notes
  • 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.
Version history
Last update:
‎03-02-2023 09:27 AM
Updated by:
Contributors
Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email community@sisense.com