X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=dygraph-canvas.js;h=4606dfb906a00c89c9c20ca392902eac61e569ba;hb=17aad8df5fcf2221055dc6564e7806e72b61e37f;hp=971a038199634630973725313d79c754fd081ccf;hpb=2d9596f2fd2a3c8d8d064c0f68a22c69ef82626b;p=dygraphs.git diff --git a/dygraph-canvas.js b/dygraph-canvas.js index 971a038..4606dfb 100644 --- a/dygraph-canvas.js +++ b/dygraph-canvas.js @@ -12,12 +12,8 @@ */ /** - * This class determines the charting area (in pixel coordinates), maps the - * percentage coordinates in the DygraphLayout to pixels and draws them. - * It's also responsible for creating chart DOM elements, i.e. annotations, - * tick mark labels, the title and the x/y-axis labels. - * This class is based on PlotKit.CanvasRenderer. - * + * The DygraphCanvasRenderer class does the actual rendering of the chart onto + * a canvas. It's based on PlotKit.CanvasRenderer. * @param {Object} element The canvas to attach to * @param {Object} elementContext The 2d context of the canvas (injected so it * can be mocked for testing.)