this.ChartControl.YAxisRangeTypeRight = YAxisRangeType.Fixed;
double yAxisSize = yAxisTicksParam * TickSize;
this.ChartControl.FixedPanelMaxRight =
Close[CurrentBar - this.LastBarIndexPainted] + (yAxisSize / 2);
this.ChartControl.FixedPanelMinRight =
Close[CurrentBar - this.LastBarIndexPainted] - (yAxisSize / 2);
Thanks

Comment