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.
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.
The text-decoration-thickness property is used to set the thickness of the decoration line.
An easy method to change the width of the chart lines is to select the line/lines, right click, and at menu choose “Format Data Series,” and, then choose “Line Style,” to change width selection.
chart1.Series["Default"].BorderWidth = 2;
Very helpful collection of examples: http://code.msdn.microsoft.com/Samples-Environments-for-b01e9c61
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With