ChartIQ

interface ChartIQ : ChartIQDrawingTool, ChartIQStudy

Types

Companion
Link copied to clipboard
object Companion

Functions

addMeasureListener
Link copied to clipboard
abstract fun addMeasureListener(measureCallback: MeasureCallback)
Adds a measure listener
addSeries
Link copied to clipboard
abstract fun addSeries(series: Series, isComparison: Boolean)
Adds the symbol from the series to the chart with its color.
addStudy
Link copied to clipboard
abstract fun addStudy(study: Study, forClone: Boolean)
Adds a study Study to a list of active studies
clearDrawing
Link copied to clipboard
abstract fun clearDrawing()
Clears all the drawings from the chart canvas
cloneDrawing
Link copied to clipboard
abstract fun cloneDrawing()
Clones the drawing that is selected on the chart
deleteDrawing
Link copied to clipboard
abstract fun deleteDrawing()
Deletes the drawing that is selected on the chart
disableCrosshairs
Link copied to clipboard
abstract fun disableCrosshairs()
Disables crosshairs
disableDrawing
Link copied to clipboard
abstract fun disableDrawing()
Deactivates drawing mode
enableCrosshairs
Link copied to clipboard
abstract fun enableCrosshairs()
Enables crosshairs
enableDrawing
Link copied to clipboard
abstract fun enableDrawing(tool: DrawingTool)
Activates a selected drawing DrawingTool
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
getActiveSeries
Link copied to clipboard
abstract fun getActiveSeries(callback: OnReturnCallback<List<Series>>)
Gets all active series on the chart.
getActiveStudies
Link copied to clipboard
abstract fun getActiveStudies(callback: OnReturnCallback<List<Study>>)
Gets a list of active/selected studies Study
getChartAggregationType
Link copied to clipboard
abstract fun getChartAggregationType(callback: OnReturnCallback<ChartAggregationType?>)
Gets a selected aggregation chart type
getChartScale
Link copied to clipboard
abstract fun getChartScale(callback: OnReturnCallback<ChartScale>)
Gets a selected chart scale
getChartType
Link copied to clipboard
abstract fun getChartType(callback: OnReturnCallback<ChartType?>)
Gets a selected chart type
getDrawingParameters
Link copied to clipboard
abstract fun getDrawingParameters(tool: DrawingTool, callback: OnReturnCallback<Map<String, Any>>)
Get a map of current parameters and settings for the requested drawing tool tool
getHUDDetails
Link copied to clipboard
abstract fun getHUDDetails(callback: OnReturnCallback<CrosshairHUD>)
Get HUD details
getIsExtendedHours
Link copied to clipboard
abstract fun getIsExtendedHours(callback: OnReturnCallback<Boolean>)
Gets a selected extended-hours visualization
getIsInvertYAxis
Link copied to clipboard
abstract fun getIsInvertYAxis(callback: OnReturnCallback<Boolean>)
Gets a selected chart Y axis invertion
getStudyList
Link copied to clipboard
abstract fun getStudyList(callback: OnReturnCallback<List<Study>>)
Gets a list of available studies Study
getStudyParameters
Link copied to clipboard
abstract fun getStudyParameters(study: Study, type: StudyParameterType, callback: OnReturnCallback<List<StudyParameter>>)
Gets a list of parameters StudyParameter of a selected study Study
getTranslations
Link copied to clipboard
abstract fun getTranslations(languageCode: String, callback: OnReturnCallback<Map<String, String>>)
Returns a map of translations for a given language
hashCode
Link copied to clipboard
open fun hashCode(): Int
manageLayer
Link copied to clipboard
abstract fun manageLayer(layer: ChartLayer)
Changes the layer of the drawing that is selected on the chart
redoDrawing
Link copied to clipboard
abstract fun redoDrawing(callback: OnReturnCallback<Boolean>)
Redoes the last drawing change
removeSeries
Link copied to clipboard
abstract fun removeSeries(symbolName: String)
Removes a selected symbol from the chart's series.
removeStudy
Link copied to clipboard
abstract fun removeStudy(study: Study)
Removes a selected study Study from the list of active studies
restoreDefaultDrawingConfig
Link copied to clipboard
abstract fun restoreDefaultDrawingConfig(tool: DrawingTool, all: Boolean)
Restores the drawing tool to its default settings
setAggregationType
Link copied to clipboard
abstract fun setAggregationType(aggregationType: ChartAggregationType)
Sets an Aggregation type for charts
setChartScale
Link copied to clipboard
abstract fun setChartScale(scale: ChartScale)
Sets an chart scale for charts
setChartType
Link copied to clipboard
abstract fun setChartType(chartType: ChartType)
Sets an chart type for charts
setDataMethod
Link copied to clipboard
abstract fun setDataMethod(method: DataMethod, symbol: String)
Sets data method and symbol to the chart
setDataSource
Link copied to clipboard
abstract fun setDataSource(dataSource: DataSource)
Sets a DataSource for ChartIQ.
setDrawingParameter
Link copied to clipboard
abstract fun setDrawingParameter(parameter: DrawingParameterType, value: String)
Sets a value for the drawing tool parameter
abstract fun setDrawingParameter(parameterName: String, value: String)
Sets a value for the drawing tool parameter
setExtendedHours
Link copied to clipboard
abstract fun setExtendedHours(extended: Boolean)
Sets to turn on/off the extended-hours visualization.
setIsInvertYAxis
Link copied to clipboard
abstract fun setIsInvertYAxis(inverted: Boolean)
Setting to true causes the y-axis and all linked drawings, series and studies to display inverted (flipped) from its previous state
setLanguage
Link copied to clipboard
abstract fun setLanguage(languageCode: String)
Sets a language that should be used within the app
setPeriodicity
Link copied to clipboard
abstract fun setPeriodicity(period: Int, interval: String, timeUnit: TimeUnit)
Sets periodicity to the chart
setSeriesParameter
Link copied to clipboard
abstract fun setSeriesParameter(symbolName: String, parameterName: String, value: String)
Modifies a property of an existing series.
setStudyParameter
Link copied to clipboard
abstract fun setStudyParameter(study: Study, parameter: StudyParameterModel)
Modifies a selected study Study with a single parameter
setStudyParameters
Link copied to clipboard
abstract fun setStudyParameters(study: Study, parameters: List<StudyParameterModel>)
Modifies a selected study Study with a given list of parameters
setSymbol
Link copied to clipboard
abstract fun setSymbol(symbol: String)
Sets a symbol to the chart
setTheme
Link copied to clipboard
abstract fun setTheme(theme: ChartTheme)
Sets a theme to the chart
start
Link copied to clipboard
abstract fun start(onStartCallback: OnStartCallback)
Starts a ChartIQ WebClient initialization
toString
Link copied to clipboard
open fun toString(): String
undoDrawing
Link copied to clipboard
abstract fun undoDrawing(callback: OnReturnCallback<Boolean>)
Undoes the last drawing change

Properties

chartView
Link copied to clipboard
abstract val chartView: View
A ChartIQ View that represents a ChartIQ UI

Inheritors

ChartIQHandler
Link copied to clipboard