Module graphics/Scale
Interfaces
Type aliases
Type aliases
An object that represents a value in units of either 'px' or 'du'. In the Code Explorer,
we can use the px(value)
or du(value)
functions. To create dynamic values, we can use the
op(a, operator, b)
:
```javascript //creates a point 60 pixels above the price 3800.50. const myMixedValue = op(du(3800.50), '-', px(60))
Unit type to use for indicators' scale. 'du' indicates domain units, which are price for the y axis and index for the x axis. 'px' indicates pixels.
Generated using TypeDoc
Operator for
ExprScaleBound
expression-representing objects.