protected override void Create() { m_length = new ArraySimple <Int32>(this, 9); m_smoothingfactor = new ArraySimple <Double>(this, 9); m_xma = new ArraySeries <Double>(this, 9); m_color = new ArraySimple <Color>(this, 9); Plot1 = AddPlot(new PlotAttributes("XMA1", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot2 = AddPlot(new PlotAttributes("XMA2", 0, Color.Red, Color.Empty, 0, 0, true)); Plot3 = AddPlot(new PlotAttributes("XMA3", 0, Color.Cyan, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("XMA4", 0, Color.Yellow, Color.Empty, 0, 0, true)); Plot5 = AddPlot(new PlotAttributes("XMA5", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot6 = AddPlot(new PlotAttributes("XMA6", 0, Color.Red, Color.Empty, 0, 0, true)); Plot7 = AddPlot(new PlotAttributes("XMA7", 0, Color.Cyan, Color.Empty, 0, 0, true)); Plot8 = AddPlot(new PlotAttributes("XMA8", 0, Color.Yellow, Color.Empty, 0, 0, true)); }
protected override void Create(){ m_length = new ArraySimple<Int32>(this, 9); m_smoothingfactor = new ArraySimple<Double>(this, 9); m_xma = new ArraySeries<Double>(this, 9); m_color = new ArraySimple<Color>(this, 9); Plot1 = AddPlot(new PlotAttributes("XMA1", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot2 = AddPlot(new PlotAttributes("XMA2", 0, Color.Red, Color.Empty, 0, 0, true)); Plot3 = AddPlot(new PlotAttributes("XMA3", 0, Color.Cyan, Color.Empty, 0, 0, true)); Plot4 = AddPlot(new PlotAttributes("XMA4", 0, Color.Yellow, Color.Empty, 0, 0, true)); Plot5 = AddPlot(new PlotAttributes("XMA5", 0, Color.Blue, Color.Empty, 0, 0, true)); Plot6 = AddPlot(new PlotAttributes("XMA6", 0, Color.Red, Color.Empty, 0, 0, true)); Plot7 = AddPlot(new PlotAttributes("XMA7", 0, Color.Cyan, Color.Empty, 0, 0, true)); Plot8 = AddPlot(new PlotAttributes("XMA8", 0, Color.Yellow, Color.Empty, 0, 0, true)); }