开发者

Can i change the width of a line chart?

开发者 https://www.devze.com 2023-01-31 06:21 出处:网络
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.

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

Can i change the width of a line chart?

After

Can i change the width of a line chart?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消