<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 27 mar 2020 alle ore 22:26 T Lee Davidson <<a href="mailto:t.lee.davidson@gmail.com">t.lee.davidson@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 3/27/20 3:40 PM, Weg wrote:<br>
> <br>
> How is it possible, to enlarge the Size of the Cake Chart?<br>
> I reserved a lot of space, but its still very small.<br>
> <br>
<br>
Have you tried the Height and Width properties?<br>
<a href="https://gambaswiki.org/wiki/howto/makechart" rel="noreferrer" target="_blank">https://gambaswiki.org/wiki/howto/makechart</a><br>
<br>
<br>
-- <br>
Lee<br>
<br>
P.S. To anyone who may know, where is the Wiki documentation for gb.chart?<br></blockquote><div><br></div><div><a href="http://gambaswiki.org/wiki/comp/gb.chart">http://gambaswiki.org/wiki/comp/gb.chart</a></div><div> </div><div>With Fabien's code, here works well:<br><br>Public Sub Form_Open()<br><br> With Chart<br> .Legend.Font = Font["Serif,16"]<br> .Legend.Title = "Legend"<br> .Legend.Visible = True<br> .[0].Values = [20, 30, 50]<br> .Headers.Values = ["Tic", "Toc", "Tac"]<br> .Proportionnal = True<br> .ShowLabels = True<br> .Border = True<br> .Type = ChartType.Pie<br> End With<br><br>End<br><br>Public Sub DrawingArea1_Draw()<br><br> Chart.Width = DrawingArea1.ClientWidth<br> Chart.Height = DrawingArea1.ClientHeight<br> Chart.Draw()<br><br>End<br><br>Regards<br>Gianluigi <br></div></div></div>