Inheritance: DataObjectEditor
Example #1
0
 public override DataObjectEditor GetEditor()
 {
   BarEditor barEditor = new BarEditor();
   BarType barType;
   long barSize;
   if (!DataSeriesNameHelper.TryGetBarTypeSize(this.dataSeries, out barType, out barSize))
   {
     barType = BarType.Time;
     barSize = 0L;
   }
   barEditor.InitBarSettings(barType, barSize);
   return (DataObjectEditor) barEditor;
 }
Example #2
0
        public override DataObjectEditor GetEditor()
        {
            BarEditor barEditor = new BarEditor();
            BarType   barType;
            long      barSize;

            if (!DataSeriesNameHelper.TryGetBarTypeSize(this.dataSeries, out barType, out barSize))
            {
                barType = BarType.Time;
                barSize = 0L;
            }
            barEditor.InitBarSettings(barType, barSize);
            return((DataObjectEditor)barEditor);
        }