Class DygraphCanvasRenderer
Defined in: dygraph-canvas.js.
Constructor Attributes | Constructor Name and Description |
---|---|
DygraphCanvasRenderer(dygraph, element, elementContext, layout)
|
Class Detail
DygraphCanvasRenderer(dygraph, element, elementContext, layout)
- Parameters:
- {Dygraph} dygraph
- The chart to which this renderer belongs.
- {HTMLCanvasElement} element
- The <canvas> DOM element on which to draw.
- {CanvasRenderingContext2D} elementContext
- The drawing context.
- {DygraphLayout} layout
- The chart's DygraphLayout object. TODO(danvk): remove the elementContext property.