telegram-charts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
YData
Reader
constructor
animation
data
Per
Tick
direction
dirty
Labels
labels
Count
old
Data
Per
Tick
state
options
animate
ToBounds
calc
Data
Per
Tick
clear
get
Dimension
get
Line
Points
get
Max
Possible
Labels
get
Value
From
get
Value
To
update
Data
Per
Tick
Hierarchy
AxeDataReader
<
VerticalBounds
>
YDataReader
Index
Constructors
constructor
Properties
animation
data
Per
Tick
direction
dirty
Labels
labels
Count
old
Data
Per
Tick
state
Accessors
options
Methods
animate
ToBounds
calc
Data
Per
Tick
clear
get
Dimension
get
Line
Points
get
Max
Possible
Labels
get
Value
From
get
Value
To
update
Data
Per
Tick
Constructors
constructor
new YData
Reader
(
state
:
ChartState
, ctx
:
CanvasRenderingContext2D
)
:
YDataReader
Parameters
state:
ChartState
ctx:
CanvasRenderingContext2D
Returns
YDataReader
Properties
Optional
animation
animation
:
AnimationState
data
Per
Tick
data
Per
Tick
:
number
= 0
direction
direction
:
AxeDirection
dirty
Labels
dirty
Labels
:
boolean
= true
Protected
labels
Count
labels
Count
:
number
= 0
Protected
old
Data
Per
Tick
old
Data
Per
Tick
:
number
= 0
Protected
state
state
:
ChartState
Accessors
options
options
:
Methods
animate
ToBounds
animate
ToBounds
(
bounds
:
VerticalBounds
, onFinish
?:
undefined
|
function
)
:
void
Parameters
bounds:
VerticalBounds
Optional
onFinish:
undefined
|
function
Returns
void
calc
Data
Per
Tick
calc
Data
Per
Tick
(
dataBounds
:
VerticalBounds
)
:
number
Parameters
dataBounds:
VerticalBounds
Returns
number
clear
clear
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
Protected
get
Dimension
get
Dimension
(
bounds
:
VerticalBounds
)
:
number
Parameters
bounds:
VerticalBounds
Returns
number
get
Line
Points
get
Line
Points
(
v
:
number
)
:
[
PointTuple
,
PointTuple
]
Parameters
v:
number
Returns
[
PointTuple
,
PointTuple
]
get
Max
Possible
Labels
get
Max
Possible
Labels
(
)
:
number
Returns
number
get
Value
From
get
Value
From
(
dataPerTick
:
number
)
:
number
Parameters
dataPerTick:
number
Returns
number
get
Value
To
get
Value
To
(
)
:
number
Returns
number
update
Data
Per
Tick
update
Data
Per
Tick
(
)
:
void
Returns
void
Generated using
TypeDoc