Exemple #1
0
          protected internal YLevelElement(PlotPane host, TimeSeries.YLevel level, float minScale, float maxScale) : base(host)
          {
            m_Level = level;
         
          //   m_Style = new Style(null, getBaseStyle());
            m_ScaleMin = minScale;
            m_ScaleMax = maxScale;

            computeCoords();
            this.Region = new Rectangle(0, m_Y-2, host.Width, m_Y+2);
          }
Exemple #2
0
        protected TimeSeries(string name, int order, TimeSeries parent = null)
        {
            if (name.IsNullOrWhiteSpace())
            throw new WFormsException(StringConsts.ARGUMENT_ERROR+"TimeSeries.ctor(name==null)");

              m_Name = name;
              m_Order = order;
              if (parent!=null)
              {
            m_Parent.m_Children.RegisterOrReplace( this );
            m_Parent = parent;
              }
        }
Exemple #3
0
 protected TimeSeries(string name, int order, TimeSeries parent = null) : base(name, order, parent)
 {
 }
Exemple #4
0
 /// <summary>
 /// Override to build elements that render the data by adding drawable elements to the chart.
 /// Returns how many samples could fit
 /// </summary>
 public abstract int BuildElements(TimeSeriesChart chart, PlotPane pane, TimeSeries series, int maxSampleWidth);
Exemple #5
0
 protected override void Destructor()
 {
     if (m_Parent!=null)
       {
     m_Parent.m_Children.Unregister( this );
     m_Parent = null;
       }
 }
Exemple #6
0
 public CandleTimeSeries(string name, int order, TimeSeries parent = null)
     : base(name, order, parent)
 {
 }
Exemple #7
0
 /// <summary>
 /// Override to build elements that render the data by adding drawable elements to the chart.
 /// Returns how many samples could fit
 /// </summary>
 public abstract int BuildElements(TimeSeriesChart chart, PlotPane pane, TimeSeries series, int maxSampleWidth);
Exemple #8
0
 protected TimeSeries(string name, int order, TimeSeries parent = null) : base(name, order, parent)
 {
 }