top of page

Convert pie chart to semi-circle donut

A pie chart can be converted to semi circle donut using below script.




widget.on('processresult', function(se, ev){
	ev.result.plotOptions.pie.startAngle= -90,
   	ev.result.plotOptions.pie.endAngle= 90,
   	ev.result.plotOptions.pie.center= ['50%', '75%'],
   	ev.result.plotOptions.pie.size= '110%'
	ev.result.plotOptions.pie.innerSize= '50%'
})

Steps:

  • Create a pie chart

  • Add above script to widget and save

  • Refresh the widget

212 views0 comments

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating
BI Next Level white logo

BI Next Level is your trusted resource for BI customization, data solutions, and expert insights. Explore practical tips, scripts, and tutorials for tools like Sisense, Python, and SQL. Let’s transform your data into impactful insights together.

Quick Links
Connect with us
Copyright © 2024. All Rights Reserved. Designed, Developed & Maintained  by Intertoons
bottom of page