ChartIQDrawingTool

Inheritors

Functions

Link copied to clipboard
abstract fun clearDrawing()

Clears all the drawings from the chart canvas

Link copied to clipboard
abstract fun cloneDrawing()

Clones the drawing that is selected on the chart

Link copied to clipboard
abstract fun deleteDrawing()

Deletes the drawing that is selected on the chart

Link copied to clipboard
abstract fun disableDrawing()

Deactivates drawing mode

Link copied to clipboard
abstract fun enableDrawing(tool: DrawingTool)

Activates a selected drawing DrawingTool

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

Link copied to clipboard
abstract fun manageLayer(layer: ChartLayer)

Changes the layer of the drawing that is selected on the chart

Link copied to clipboard
abstract fun redoDrawing(callback: OnReturnCallback<Boolean>)

Redoes the last drawing change

Link copied to clipboard
abstract fun restoreDefaultDrawingConfig(tool: DrawingTool, all: Boolean)

Restores the drawing tool to its default settings

Link copied to clipboard
abstract fun setDrawingParameter(parameter: DrawingParameterType, value: String)
abstract fun setDrawingParameter(parameterName: String, value: String)

Sets a value for the drawing tool parameter

Link copied to clipboard
abstract fun undoDrawing(callback: OnReturnCallback<Boolean>)

Undoes the last drawing change