Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to increase thickness of lines in Line Charts?

Tags:

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.

like image 809
Jeevan Avatar asked Mar 07 '11 10:03

Jeevan


People also ask

How do you increase the thickness of a line graph?

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.

What property is used to set the thickness of a line graph?

The text-decoration-thickness property is used to set the thickness of the decoration line.

How do I change the width of a line in an Excel chart?

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.


1 Answers

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

Very helpful collection of examples: http://code.msdn.microsoft.com/Samples-Environments-for-b01e9c61

like image 119
SpeziFish Avatar answered Oct 01 '22 11:10

SpeziFish