Class: c3.Plot.Layer.Swimlane.Sampled.Canvas
Defined in: | js/c3-layers.coffee |
Inherits: | c3.Plot.Layer.Swimlane.Sampled |
Overview
A sampled swimlane layer implemented via HTML5 Canvas
This layer supports line_options.styles.stroke
and HTML hover
"tooltips".
Variables Summary
- version =
-
0.0
- type =
-
'canvas'
- line_options =
-
undefined
[c3.Selection.Options] Options for the svg:line's in each swimlane
Variable inherited from c3.Plot.Layer.Swimlane.Sampled
version type dx filter safe v_orient dy hover lane_options _next_uid data name class static_data h v x y h_orient options handlers restyle
Instance Method Summary
- # (void) _init() Bound
- # (void) _size() Bound
- # (void) __draw() Bound
- # (void) _draw(origin) Bound
- # (void) _style(style_new) Bound
- # (void) zoom() Bound For the sampled layer, draw and style are the same.
Inherited Method Summary
Methods inherited from
c3.Plot.Layer.Swimlane.Sampled
#_hover_datum #_update #_sample #_init #_size #_draw #_style #init #size #update #draw #style #zoom #pan #redraw #scale #min_x #max_x #min_y #max_y
Instance Method Details
#
(void)
_init()
Bound
#
(void)
_size()
Bound
#
(void)
__draw()
Bound
#
(void)
_draw(origin)
Bound
#
(void)
_style(style_new)
Bound
#
(void)
zoom()
Bound
For the sampled layer, draw and style are the same. By default zoom does both, so just do one.