Is i开发者_运维问答t possible to change the width of a line series with the chart bundled in .net 4? How would i do it?
Yes, you can.
To increase the line width do this:
chart.Series["SeriesName"].BorderWidth = 3;
I just tested it right now and it works perfectly in a Spline 2D chart.
Before
After
yes, you can
check this link
Working with MSChart in VB.Net
. Setting color and width of Series
For color –setting RBG format Mschart1.Plot.SeriesCollection(1).DataPoints(1).Brush.FillColor.Set(250,250,)
For width -For that set the Width Property, need to specify Width in Point MSChart1.Plot.SeriesCollection(1).Pen.Width = 25
精彩评论