telegram-charts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Path
Generator
constructor
current
State
data
Sets
empty
State
options
size
y
Sum
animate
Paths
calc
Sum
create
Paths
getVBounds
getVBounds
To
prepare
Animation
Hierarchy
PathGenerator
Index
Constructors
constructor
Properties
current
State
data
Sets
empty
State
options
size
y
Sum
Methods
animate
Paths
calc
Sum
create
Paths
getVBounds
getVBounds
To
prepare
Animation
Constructors
constructor
new
Path
Generator
(
dataSets
:
DataSet
[]
, size
:
number
, options
:
ChartOptions
)
:
PathGenerator
Parameters
dataSets:
DataSet
[]
size:
number
options:
ChartOptions
Returns
PathGenerator
Properties
Private
current
State
current
State
:
number
[]
= []
Private
data
Sets
data
Sets
:
DataSet
[]
Private
empty
State
empty
State
:
ReadonlyArray
<
number
>
Private
options
options
:
ChartOptions
Private
size
size
:
number
Private
y
Sum
y
Sum
:
number
[]
Methods
animate
Paths
animate
Paths
(
animation
:
AnimationState
)
:
void
Parameters
animation:
AnimationState
Returns
void
Private
calc
Sum
calc
Sum
(
dataSets
:
DataSet
[]
)
:
void
Parameters
dataSets:
DataSet
[]
Returns
void
create
Paths
create
Paths
(
createStateTo
?:
boolean
)
:
void
Parameters
Default value
createStateTo:
boolean
= false
Returns
void
getVBounds
getVBounds
(
scaleRange
:
ScaleRange
, state
?:
ReadonlyArray
<
number
>
)
:
VerticalBounds
Parameters
scaleRange:
ScaleRange
Default value
state:
ReadonlyArray
<
number
>
= this.currentState
Returns
VerticalBounds
getVBounds
To
getVBounds
To
(
scaleRange
:
ScaleRange
)
:
VerticalBounds
|
undefined
Parameters
scaleRange:
ScaleRange
Returns
VerticalBounds
|
undefined
prepare
Animation
prepare
Animation
(
)
:
void
Returns
void
Generated using
TypeDoc