public ChartProperties() { // Avoid exceptions during design mode. try { intervalChartBar = TickZoom.Api.Factory.Engine.DefineInterval(TickZoom.Api.BarUnit.Default, 0); intervalChartBar = TickZoom.Api.Factory.Engine.DefineInterval(TickZoom.Api.BarUnit.Default, 0); intervalChartBar = TickZoom.Api.Factory.Engine.DefineInterval(TickZoom.Api.BarUnit.Default, 0); } catch { } }
public ChartProperties() { // Avoid exceptions during design mode. try { intervalChartBar = new IntervalImpl(TickZoom.Api.BarUnit.Default, 0); intervalChartBar = new IntervalImpl(TickZoom.Api.BarUnit.Default, 0); intervalChartBar = new IntervalImpl(TickZoom.Api.BarUnit.Default, 0); } catch { } }