telegram-charts
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Grid
Lines
And
Labels
constructor
chart
ctx
drawXLabels
drawYLabels
is
Dirty
readers
state
x
Data
Reader
y
Data
Reader
draw
draw
Lines
And
Labels
draw
Lines
And
Labels
Helper
mark
Dirty
mark
DirtyY
on
Bounds
Change
Listener
single
Draw
update
Data
Bounds
Hierarchy
GridLinesAndLabels
Index
Constructors
constructor
Properties
chart
ctx
drawXLabels
drawYLabels
is
Dirty
readers
state
x
Data
Reader
y
Data
Reader
Methods
draw
draw
Lines
And
Labels
draw
Lines
And
Labels
Helper
mark
Dirty
mark
DirtyY
on
Bounds
Change
Listener
single
Draw
update
Data
Bounds
Constructors
constructor
new
Grid
Lines
And
Labels
(
state
:
ChartState
, chart
:
Chart
)
:
GridLinesAndLabels
Parameters
state:
ChartState
chart:
Chart
Returns
GridLinesAndLabels
Properties
Protected
chart
chart
:
Chart
Private
ctx
ctx
:
CanvasRenderingContext2D
Private
drawXLabels
drawXLabels
:
drawLabels
= drawXLabels
Private
drawYLabels
drawYLabels
:
drawLabelsYScaled
= drawLabels
Private
is
Dirty
is
Dirty
:
boolean
= true
Private
readers
readers
:
AxeDataReader
[]
Protected
state
state
:
ChartState
Private
x
Data
Reader
x
Data
Reader
:
XDataReader
Private
y
Data
Reader
y
Data
Reader
:
YDataReader
Methods
draw
draw
(
animations
:
AnimationState
[]
)
:
void
Parameters
animations:
AnimationState
[]
Returns
void
Private
draw
Lines
And
Labels
draw
Lines
And
Labels
(
ctx
:
CanvasRenderingContext2D
, axeReader
:
AxeDataReader
, animation
?:
AnimationState
|
undefined
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
axeReader:
AxeDataReader
Optional
animation:
AnimationState
|
undefined
Returns
void
Private
draw
Lines
And
Labels
Helper
draw
Lines
And
Labels
Helper
(
ctx
:
CanvasRenderingContext2D
, axeReader
:
AxeDataReader
, lineOpacity
:
number
, labelOpacity
:
number
, dataPerTick
:
number
, _drawLabels
:
drawLabelsYScaled
)
:
void
Parameters
ctx:
CanvasRenderingContext2D
axeReader:
AxeDataReader
lineOpacity:
number
labelOpacity:
number
dataPerTick:
number
_drawLabels:
drawLabelsYScaled
Returns
void
mark
Dirty
mark
Dirty
(
)
:
void
Returns
void
mark
DirtyY
mark
DirtyY
(
)
:
void
Returns
void
Private
on
Bounds
Change
Listener
on
Bounds
Change
Listener
(
__namedParameters
:
object
)
:
void
Parameters
__namedParameters:
object
detail
:
object
from
:
VerticalBounds
&
HorizontalBounds
to
:
VerticalBounds
&
HorizontalBounds
Returns
void
Private
single
Draw
single
Draw
(
)
:
void
Returns
void
update
Data
Bounds
update
Data
Bounds
(
oldBounds
:
BoundingBox
, newBounds
:
VerticalBounds
|
BoundingBox
, skipBoundsUpdate
:
boolean
)
:
void
Parameters
oldBounds:
BoundingBox
newBounds:
VerticalBounds
|
BoundingBox
skipBoundsUpdate:
boolean
Returns
void
Generated using
TypeDoc