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/_xPixels.js // Access the pixel position of the x co-ordinate of the legend area this._xPixels = function () { return dimple._parseXPosition(this.x, this.chart.svg.node()); };