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").
8 lines (7 loc) • 405 B
JavaScript
// Copyright: 2015 AlignAlytics
// License: "https://github.com/PMSI-AlignAlytics/dimple/blob/master/MIT-LICENSE.txt"
// Source: /src/objects/legend/methods/_heightPixels.js
// Access the pixel value of the height of the legend area
this._heightPixels = function () {
return dimple._parseYPosition(this.height, this.chart.svg.node());
};