本文介绍了如何制作MS Chart Stripline Dash Style?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
stripline = new StripLine();
stripline.BorderDashStyle = ChartDashStyle.Dash;
stripline.Interval = 0;
stripline.BorderWidth = 10;
/
stripline.IntervalOffset = 0.001;
stripline.StripWidth = 0.00001;
stripline.BackColor = Color.Black;
我试图将带状线添加到图表中。我已经实现了带状线添加
现在我想制作带状线样式Dash我尝试过使用
任何人都可以查看代码并需要完整
感谢
i Am trying to add stripline to chart . i have achieved stripline adding
Now i want to make that stripline style Dash i have tried using
Can any one look the code and need full
Thanku
推荐答案
chrt.ChartAreas[0].AxisX.StripLines.Add(new StripLine() { StripWidth = 0.0001, BorderDashStyle = ChartDashStyle.Dot, BorderWidth = 5, Text = "Section 1", IntervalOffset = 10, BorderColor = Color.Red, BackColor = Color.Red });
Don't forget to set BorderColor.
这篇关于如何制作MS Chart Stripline Dash Style?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!