Hello,
I hope this is a simple question. But how can I give a donut graph another size?
Because resizing the client area at designtime doesn't change the size of the donut.
Also not changing the Size property by hand.
Below is the code that I have. What do I miss?
this.chartView.AreaType = ChartAreaType.Pie;
DonutSeries series = new DonutSeries();
series.DataPoints.Add(new PieDataPoint(50, "Germany"));
series.DataPoints.Add(new PieDataPoint(70, "United States"));
series.DataPoints.Add(new PieDataPoint(40, "France"));
series.DataPoints.Add(new PieDataPoint(25, "United Kingdom"));
series.ShowLabels = true;
series.Size = new Size(400, 400); //***
this.chartView.Series.Add(series);
this.chartView.Series[0].ForeColor = Color.White;
this.chartView.Series[0].Font = new Font("Arial", 12, FontStyle.Bold);