telegram-charts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Bar
Data
Set
constructor
animation
data
Bounds
options
path
should
BeVisible
state
state
From
type
data
Reader
is
Visible
name
scaleY
state
To
cancel
Animation
create
Animation
draw
draw
Helper
finish
Animation
get
Option
set
Animation
State
To
set
Path
updateVBounds
Type parameters
T
:
BaseDataSetConfig
Hierarchy
BaseDataSet
BarDataSet
Index
Constructors
constructor
Properties
animation
data
Bounds
options
path
should
BeVisible
state
state
From
type
Accessors
data
Reader
is
Visible
name
scaleY
state
To
Methods
cancel
Animation
create
Animation
draw
draw
Helper
finish
Animation
get
Option
set
Animation
State
To
set
Path
updateVBounds
Constructors
constructor
new
Bar
Data
Set
(
options
:
BaseDataSetConfig
, attributes
:
DataSetAttributes
)
:
BarDataSet
Parameters
options:
BaseDataSetConfig
attributes:
DataSetAttributes
Returns
BarDataSet
Properties
animation
animation
:
AnimationState
|
undefined
data
Bounds
data
Bounds
:
Bounds
options
options
:
T
Protected
path
path
:
Path2D
should
BeVisible
should
BeVisible
:
boolean
= true
state
state
:
number
[]
= []
Optional
state
From
state
From
:
ReadonlyArray
<
number
>
type
type
:
DataSetType
Accessors
data
Reader
data
Reader
:
is
Visible
is
Visible
:
name
name
:
scaleY
scaleY
:
state
To
state
To
:
Methods
cancel
Animation
cancel
Animation
(
)
:
void
Returns
void
create
Animation
create
Animation
(
ctx
:
CanvasRenderingContext2D
[]
, duration
:
number
)
:
AnimationState
Parameters
ctx:
CanvasRenderingContext2D
[]
duration:
number
Returns
AnimationState
draw
draw
(
ctx
:
CanvasRenderingContext2D
, state
:
ChartState
, animation
:
AnimationState
<
number
>
|
undefined
, transform
:
DOMMatrix
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
state:
ChartState
animation:
AnimationState
<
number
>
|
undefined
transform:
DOMMatrix
Returns
void
Protected
draw
Helper
draw
Helper
(
ctx
:
CanvasRenderingContext2D
, state
:
ChartState
, transform
:
DOMMatrix
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
state:
ChartState
transform:
DOMMatrix
Returns
void
finish
Animation
finish
Animation
(
)
:
void
Returns
void
get
Option
get
Option<K>
(
option
:
K
)
:
T[K]
Type parameters
K
:
keyof T
Parameters
option:
K
Returns
T[K]
set
Animation
State
To
set
Animation
State
To
(
state
:
ReadonlyArray
<
number
>
|
undefined
)
:
void
Parameters
state:
ReadonlyArray
<
number
>
|
undefined
Returns
void
set
Path
set
Path
(
path
:
Path2D
, state
:
number
[]
|
undefined
)
:
void
Parameters
path:
Path2D
state:
number
[]
|
undefined
Returns
void
updateVBounds
updateVBounds
(
scaleRange
?:
ScaleRange
)
:
VerticalBounds
|
void
Parameters
Optional
scaleRange:
ScaleRange
Returns
VerticalBounds
|
void
Generated using
TypeDoc