Scale
The syntactic element Scale can be translated as "scale".
Instance Methods
domain
Set the scale's domain, its ts type definition is as follows:
range
Set the scale's range, its ts type definition is as follows:
configure
Configure the scale, its ts type definition is as follows:
getScaleType
Get the scale's type, its ts type definition is as follows:
getScale
Get the scale's instance, its ts type definition is as follows:
ticks
Get the scale's ticks, its ts type definition is as follows:
getCoordinateAxisPoints
Get the starting and end points of the coordinate axis corresponding to the scale, its ts type definition is as follows:
getCoordinate
Get the coordinate system corresponding to the scale, its ts type definition is as follows:
getCoordinateAxisPosition
Get the position of the coordinate axis corresponding to the scale, its ts type definition is as follows:
id
Set or read the unique identifier id
of the component.
name
Set or read the component's name name
.
depend
Set the dependent syntactic elements. Its ts type definition is as follows:
The argument can be an instance of another syntax element, or an id
corresponding to a syntax element.
clear
Clear all configurations of the current grammar element
release
Release and destroy the grammar element instance