Try chart._widthPixels()
and chart._heightPixels()
they aren't part of the public API but are used extensively internally for the plot size.
Width/height of the plot area in a dimple.chart
-
04-10-2022 - |
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?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow