C# dashed lines in chart series?

前端 未结 2 1701
陌清茗
陌清茗 2021-02-19 01:37

I\'m using the Chart control from .net 4.0 in my C# WinForms app. I have two series\' of data displayed as line graphs.

I\'m graphing basically a supply and demand as a

2条回答
  •  清歌不尽
    2021-02-19 02:01

    This changes slightly with Visual Studio 2010's version of chart control:

    this.chart1.Series["Data1"].BorderDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Dash;

提交回复
热议问题