UNPKG

dimple-js

Version:

Dimple is an object-oriented API allowing you to create flexible axis-based charts using [d3.js](http://d3js.org "d3.js").

7 lines 398 B
// Copyright: 2015 AlignAlytics // License: "https://github.com/PMSI-AlignAlytics/dimple/blob/master/MIT-LICENSE.txt" // Source: /src/objects/legend/methods/_yPixels.js // Access the pixel position of the y co-ordinate of the legend area this._yPixels = function () { return dimple._parseYPosition(this.y, this.chart.svg.node()); };