Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex()
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=83&t=52138
Page 1 of 1

Author:  MobNaga [ Sun 18 Jan, 2015, 17:18 ]
Post subject:  IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex()

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.

Author:  API Support [ Wed 21 Jan, 2015, 11:29 ]
Post subject:  Re: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex()

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

Author:  MobNaga [ Sun 25 Jan, 2015, 15:40 ]
Post subject:  Re: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex()

O.K. Thanks for your answers :)

Author:  SFXbernhard [ Wed 11 Nov, 2015, 00:12 ]
Post subject:  Re: IChart.getChartThemeClone() and IOhlcChartObject.setPointIndex()

Please provide my feature request https://www.dukascopy.com/swiss/english ... 28&t=53332

  Page 1 of 1