ChartIQDrawingTool

interface ChartIQDrawingTool

Functions

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
disableDrawing
Link copied to clipboard
abstract fun disableDrawing()
Deactivates drawing mode
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
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
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
restoreDefaultDrawingConfig
Link copied to clipboard
abstract fun restoreDefaultDrawingConfig(tool: DrawingTool, all: Boolean)
Restores the drawing tool to its default settings
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
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

Inheritors

ChartIQ
Link copied to clipboard