Customize the donut charts width

Hello Team Helical,

I would like to decrease or increase the width of the donut chart width. How can that be done? I am using Helical Insight 3.1 EE

Thank You
Riwim

1 Like

Hello Riwim,

When you create the donut chart go to the JS Editor portion of it and insert the below code.

hi_container.set("preExecution",function(c){
            var viz_Options = c.get("viz_Options");
                viz_Options.chartOptions.donut = {
					width: 20
				};
                c.set("viz_Options",viz_Options);
        });

In the width portion of it, you can specify the width and accordingly the width of the donut chart will change.

Thank You
Team Helical