plotly / dash-daq

Control components for Dash
MIT License
141 stars 40 forks source link

[BUG] Memory Leak - dash_daq.Gauge when using custom range for the color #130

Open ranajaydas opened 3 years ago

ranajaydas commented 3 years ago

When the dash_daq.Gauge object's color is set to something like - {'default': some color, 'ranges': some ranges} and the callback uses n-intervals to update the color, there's a memory leak (the GPU usage in Chrome keeps increasing).

This only happens when the 'ranges' key is used (and I suspect it might also occur if a gradient is used) but not when the Gauge only uses the 'default' key by itself.

Similar to issue #49

yuribr84 commented 3 years ago

Same issue here.

The workaround was to save the desired scale ring as an image and position it exactly over the default gauge ring.

notron30 commented 1 year ago

Same issue here.

The workaround was to save the desired scale ring as an image and position it exactly over the default gauge ring.

how did you do this?