Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API function requests in this forum only.
    Off topics are strictly forbidden.

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

IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex()
 Post subject: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex() Post rating: 0   New post Posted: Sun 18 Jan, 2015, 17:18 
User avatar

User rating: 7
Joined: Tue 28 Feb, 2012, 09:45
Posts: 45
Location: JapanJapan
Requests 1:
I want to get IChartTheme of chart.
But Interface IClientChartPresentationManager getTheme() is used only by Standalone JForex API.
How about method like this?

Interface IChart
IChartTheme getChartThemeClone()
Clones a chart theme
Returns:
a cloned chart theme

Requests 2:
I want to manually control a time of bar which are displayed by IOhlcChartObject.
How about method like this?

Interface IOhlcChartObject

void setPointIndex(int pointIndex)
Parameters:
pointIndex >= 0: setting by index number of bar. Display is refreshed at chart moved.
pointIndex < 0: setting by option numbers as below.
MOUSE_POINT = -4: (Same as default) depend on mouse pointer. Display is refreshed at mouse moved.
MAX = -1: setting a maximum index number of chart which was automatically calculating by platform. Display is refreshed at chart moved.
CENTER = -2: setting a center index number of chart which was automatically calculating by platform. Display is refreshed at chart moved.
MIN = -3: setting a minimum index number of chart which was automatically calculating by platform. Display is refreshed at chart moved.


 
The Best Answer  Post subject: Re: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex() Post rating: 1   New post Posted: Wed 21 Jan, 2015, 11:29 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Requests 1:
We will consider this feature.

Requests 2:
Currently we have no intentions to change OHLC Index widget's behavior, so proposed API changes won't happen any time soon.
Instead consider creating custom chart widget, that would have the behavior you need. Here is example in wiki: https://www.dukascopy.com/wiki/#Chart_Widget


 
 Post subject: Re: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex() Post rating: 0   New post Posted: Sun 25 Jan, 2015, 15:40 
User avatar

User rating: 7
Joined: Tue 28 Feb, 2012, 09:45
Posts: 45
Location: JapanJapan
O.K. Thanks for your answers :)


 
 Post subject: Re: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex() Post rating: 0   New post Posted: Wed 11 Nov, 2015, 00:12 
User avatar

User rating: 21
Joined: Thu 19 May, 2011, 20:50
Posts: 413
Location: Germany, Munich
Please provide my feature request https://www.dukascopy.com/swiss/english ... 28&t=53332


 

Jump to:  

cron
  © 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