public interface IClientChartPresentationManager
Period, DataType, etc.).IChart,
IClientGUI| Modifier and Type | Method and Description |
|---|---|
DataType.DataPresentationType |
getDataPresentationType()
Returns charts' current
DataType.DataPresentationType. |
IFeedDescriptor |
getFeedDescriptor()
Returns chart state described by bean
IFeedDescriptor |
Filter |
getFilter() |
IChartTheme |
getPredefinedTheme(IChartTheme.Predefined predefinedTheme)
Gets a copy of a predefined chart theme
|
IChartTheme |
getTheme()
Returns current chart theme.
|
boolean |
isChartAutoShift()
returns true if chart Auto Shift is activated
|
void |
setChartAutoShift()
Activates chart Auto Shift
|
void |
setDataPresentationType(DataType.DataPresentationType dataPresentationType)
Applies DataPresentationType to current chart.
|
void |
setFeedDescriptor(IFeedDescriptor feedDescriptor)
Changes bundle of chart's feed data properties at once.
The Filter value of the IFeedDescriptor is set globally and propagated to all open charts. |
void |
setFilter(Filter filter)
Sets the
Filter globally which will be propagated to all open charts. |
void |
setInstrument(Instrument instrument)
Changes current
Instrument to specified one |
void |
setTheme(IChartTheme chartTheme)
Sets chart theme
|
void |
switchOfferSide(OfferSide offerSide)
Switches OfferSide
|
void |
zoomIn()
Zooms in chart
|
void |
zoomOut()
Zooms out chart
|
void setFeedDescriptor(IFeedDescriptor feedDescriptor)
feedDescriptor - - see IFeedDescriptorsetFilter(Filter),
getFilter(),
setInstrument(Instrument),
switchOfferSide(OfferSide)IFeedDescriptor getFeedDescriptor()
IFeedDescriptorIFeedDescriptorvoid setChartAutoShift()
boolean isChartAutoShift()
void zoomIn()
void zoomOut()
void setInstrument(Instrument instrument)
Instrument to specified oneinstrument - new active Instrumentvoid setDataPresentationType(DataType.DataPresentationType dataPresentationType)
IChart.getDataType().getSupportedPresentationTypes() to get all allowed values.
Use IChart.getDataType().isPresentationTypeSupported(DataPresentationType presentationType)
to check whether current DataType supports presentationType or not.dataPresentationType - one of DataPresentationType constants, supported by current DataTypeIllegalArgumentException - if DataPresentationType is not supported by current DataTypeIChart.setDataPresentationType(com.dukascopy.api.DataType.DataPresentationType),
IChart.getDataType()DataType.DataPresentationType getDataPresentationType()
DataType.DataPresentationType.
Depends on current DataType valuevoid switchOfferSide(OfferSide offerSide)
offerSide - new offer sidevoid setFilter(Filter filter)
Filter globally which will be propagated to all open charts.filter - Filter to filter flats dataIChartTheme getTheme()
void setTheme(IChartTheme chartTheme)
chartTheme - theme to setIChartTheme getPredefinedTheme(IChartTheme.Predefined predefinedTheme)
predefinedTheme - theme enumerationCopyright © 2016. All rights reserved.