bc291
bc291

Reputation: 1171

Doubled chart tittle c# ASP.NET website

When I'm trying to add tittle to my chart as follows:

Chart1.Titles.Add("Test");
Chart1.Titles[0].Font = new System.Drawing.Font("Arial", 26F, System.Drawing.FontStyle.Regular);
Chart1.Titles[0].ForeColor = System.Drawing.Color.Magenta;

Final results is: enter image description here

Why tittle is doubled?

Upvotes: 0

Views: 40

Answers (1)

MCoder
MCoder

Reputation: 113

It may be possible that it is not the title but some other control. Looking at the font size it seems that it is probably legend value. Try changing the legend value to "" and see the result.

Upvotes: 1

Related Questions