top of page

Convert pie chart to semi-circle donut

Updated: Nov 27, 2024

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


ree


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

Comments

Rated 0 out of 5 stars.
No ratings yet

Add a rating

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
bottom of page