0Day Forums
How to increase thickness of lines in Line Charts? - Printable Version

+- 0Day Forums (https://zeroday.vip)
+-- Forum: Coding (https://zeroday.vip/Forum-Coding)
+--- Forum: Asp.Net (https://zeroday.vip/Forum-Asp-Net)
+--- Thread: How to increase thickness of lines in Line Charts? (/Thread-How-to-increase-thickness-of-lines-in-Line-Charts)



How to increase thickness of lines in Line Charts? - metasomatism227 - 07-23-2023

How can we increase the thickness of the lines in `Line` charts (`System.Web.UI.DataVisualization.Charting`)? I tried to change the `Font` property of the `Series`, but found that it's read-only.


RE: How to increase thickness of lines in Line Charts? - will53230 - 07-23-2023

chart1.Series["Default"].BorderWidth = 2;

Very helpful collection of examples:

[To see links please register here]




RE: How to increase thickness of lines in Line Charts? - east490 - 07-23-2023

Click On chart, then you will see a Values filled and category groups Box on right side of graph, then in Values filled, right-click on any values Go to "Series Properties" --> "Border " -- > "Line Width" and then set the size.