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.

Only one instance of object can be added per chart?
 Post subject: Only one instance of object can be added per chart? Post rating: 0   New post Posted: Tue 07 Jan, 2014, 09:41 

User rating: 2
Joined: Fri 17 May, 2013, 06:58
Posts: 76
Location: SwedenSweden
Hi,

According to

https://www.dukascopy.com/client/javadoc ... hartObject)

I can only add, e.g., 1 IHorizontalLineChartObject.

Is it possible to add multiple IHorizontalLineChartObject instances to my chart? If so, how?

Thanks.


 
 Post subject: Re: Only one instance of object can be added per chart? Post rating: 0   New post Posted: Tue 07 Jan, 2014, 09:45 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Yes you can, mind that you each objects key needs to be unique, otherwise they get overwritten, see:
https://www.dukascopy.com/wiki/#Create_and_manage_chart_objects/key_usage


 

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