Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

IClientChartPresentationManager.setChartAutoShift()
 Post subject: IClientChartPresentationManager.setChartAutoShift() Post rating: 0   New post Posted: Wed 13 Feb, 2013, 04:36 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
In the standalone client, how to I clear the auto shift state?

IClientChartPresentationManager needs more capabilities, please.

HyperScalper


 
 Post subject: Re: IClientChartPresentationManager.setChartAutoShift() Post rating: 0   New post Posted: Wed 13 Feb, 2013, 10:40 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
hyperscalper wrote:
In the standalone client, how to I clear the auto shift state?
By manually scrolling the chart such that the last tick is no more visible. You re-establish the auto-shift by selecting the auto-shift triangle at the right-top corner of the chart.


 
 Post subject: Re: IClientChartPresentationManager.setChartAutoShift() Post rating: 0   New post Posted: Fri 15 Feb, 2013, 06:14 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Just so I can understand,
Are you saying that it makes no sense to clear the AutoShift state
programmatically, so my request wouldn't serve any useful purpose ?

HyperScalper


 
 Post subject: Re: IClientChartPresentationManager.setChartAutoShift() Post rating: 0   New post Posted: Fri 15 Feb, 2013, 08:27 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
It does make sense if the auto-shift is off, this you will be able to check with IClientChartPresentationManager.isChartAutoShift() with JForex-API 2.7.9. But just like in platform, you can't turn it off by pressing a button - it takes a manual action to do this.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com