gauge.js
gauge.js copied to clipboard
Added responsive option: canvas is sized to fit in parent DOM node
If options.responsive
is set to true
, the initial size of the canvas (before scaling) is set to that of the parent DOM node. The height is set to at most half of the width, in order to prevent the Gauge to render outside the parent container.
This feature is useful when using the Gauge in a resizable context, i.e. gridster.
Note: the gauge.js
file is generated with CoffeeScript 1.8.0, hence the various small changes.
This would be a great feature to pull!
(thumbsup) this would be huge
Good! i'm really want this function thank you :D
Does the author still works on this?
Please pull this feature, it is greatly needed.
Please pull this feature, it is greatly needed.
I think this repo is way outdated. You should take a look at Apex Charts instead:
https://apexcharts.com/javascript-chart-demos/radialbar-charts/