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.

Can we avoid an Auto-Zoom-Out(bug?)?
 Post subject: Can we avoid an Auto-Zoom-Out(bug?)? Post rating: 0   New post Posted: Tue 16 Dec, 2014, 12:38 
User avatar

User rating: 7
Joined: Tue 28 Feb, 2012, 09:45
Posts: 45
Location: JapanJapan
Sometimes,
when move a time position of chart by method which is IChart.navigateAndSelectDrawing(String key),
JForex-Platform automatically unwanted do a zoom-out from chart.

e.g.
Before jump, amount of bars visible on the chart screen is 72.
Image

But after jump, JForex-Platform automatically did zoom out a chart to index size 92 from 72.
Image

And in this combination of this chart screen size and this candle amount, 92 is safe number.
Image

After jump, JForex-Platform did not zoom out a chart from 92.
Image

I numerous times use this method in my plugin(https://www.dukascopy.com/fxcomm/fx-article-contest/?Chart-Coupling-Plugin&action=read&id=2125).
So I want to know a way to avoid a automatically zooming out , or to get a safe index number.
Is there a way for us to avoid this problem?

Best Regards,


Attachments:
sample3.png [25.54 KiB]
Downloaded 208 times
sample2.png [17.24 KiB]
Downloaded 231 times
sample1.png [25.69 KiB]
Downloaded 223 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
The Best Answer  Post subject: Re: Can we avoid an Auto-Zoom-Out(bug?)? Post rating: 1   New post Posted: Wed 17 Dec, 2014, 10:29 
JForex Master
User avatar

User rating:
Joined: Wed 16 Sep, 2009, 18:23
Posts: 1049
Location: Geneva, Switzerland
Fixed. Will be available soon.


 
 Post subject: Re: Can we avoid an Auto-Zoom-Out(bug?)? Post rating: 0   New post Posted: Thu 18 Dec, 2014, 10:36 
User avatar

User rating: 7
Joined: Tue 28 Feb, 2012, 09:45
Posts: 45
Location: JapanJapan
thanks :lol:


 

Jump to:  

  © 1998-2024 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