Question

after creating a new dimple.chart there are available chart.x and chart.y as defined in https://github.com/PMSI-AlignAlytics/dimple/wiki/dimple.chart On the other hand the values for chart.width and chart.height are 0. Is there any other way to find the with/height of the plot area?

Was it helpful?

Solution

Try chart._widthPixels() and chart._heightPixels() they aren't part of the public API but are used extensively internally for the plot size.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top