Size of pie chart

3 replies · opened May 24, 2020

Hhilla4gMay 24, 2020

Hello - I'm using the pie chart bounded in a col-md-6 - please could you let me know how to make the size of the pie chart larger and also perhaps add some top padding? I need quite a bit of text on the right hand side so would like some control over the sizing of the chart?

https://dev0.altprep.co.uk/indexca.shtml

Cheers,

SSemicolon WebSTAFFMay 25, 2020

Hello,

You can try adding width and height Attributes to the <canvas> Tag of the Form. Example:

This will increase the size of the Chart. Additionally, consider using .align-items-center replacing .align-items-stretch to make the Chart appear centered with the Text.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Hhilla4gMay 25, 2020

Thank you - the chart is bigger, but now it's too big. I've tried altering the width and height down to 10% but the chart size remains large. Is there any middle ground possible, or is it set to the the sizes? Cheers,

SSemicolon WebSTAFFMay 26, 2020

Hello,

Unfortunately, not. The Chart Size is controlled by the Plugin and based on the Outer DIV Size to make sure that the Chart is responsive. You can consider decreasing the size of the Outer DIV, .col-md-6 in your case to a smaller grid which will decrease the size of the Chart as well.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard