telegram-charts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
XData
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
<
HorizontalBounds
>
XDataReader
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 XData
Reader
(
state
:
ChartState
, ctx
:
CanvasRenderingContext2D
)
:
XDataReader
Parameters
state:
ChartState
ctx:
CanvasRenderingContext2D
Returns
XDataReader
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
:
HorizontalBounds
, onFinish
?:
undefined
|
function
)
:
void
Parameters
bounds:
HorizontalBounds
Optional
onFinish:
undefined
|
function
Returns
void
calc
Data
Per
Tick
calc
Data
Per
Tick
(
dataBounds
:
BoundingBox
)
:
number
Parameters
dataBounds:
BoundingBox
Returns
number
clear
clear
(
ctx
:
CanvasRenderingContext2D
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
Returns
void
Protected
get
Dimension
get
Dimension
(
bounds
:
BoundingBox
)
:
number
Parameters
bounds:
BoundingBox
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