InitBarSettings() public method

public InitBarSettings ( BarType barType, long barSize ) : void
barType BarType
barSize long
return void
Exemplo n.º 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;
 }
Exemplo n.º 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);
        }