"景先生毕设|www.jxszl.com

C# DataSeries类代码示例

2023-12-29 17:49编辑: www.jxszl.com景先生毕设
本文整理汇总了C#中DataSeries类的典型用法代码示例。如果您正苦于以下问题:C#DataSeries类的具体用法?C#DataSeries怎么用?C#DataSeries使用的例子?这里精选的类代码示例或许可以为您提供帮助。 示例1:Initialize protectedoverridevoidInitialize() { #regionChartFeatures Add(newPlot(Color.White,PlotStyle.Line,".panelrangemin"));//invisible Add(newPlot(Color.White,PlotStyle.Line,".panelrangemax"));//invisible Add(newPlot(Color.Cyan,PlotStyle.Line,"Stoch")); Plots[2].Pen.Width=2; Add(newLine(Color.Gray,-60,"LowerLine")); Add(newLine(Color.Gray,60,"UpperLine")); Add(newLine(Color.Gray,0,"ZeroLine")); Lines[0].Pen.DashStyle=DashStyle.Dash; Lines[1].Pen.DashStyle=DashStyle.Dash; Lines[2].Pen.Width=2; CalculateOnBarClose =false; Overlay =false; PriceTypeSupported =false; #endregion #regionSeriesInitialization stoch1=newDataSeries(this); stoch2=newDataSeries(this); JMAstoch1=newDataSeries(this); JMAstoch2=newDataSeries(this); #endregion }
原文链接:http://www.jxszl.com/biancheng/C/556879.html