]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
panel/RRDChart: fix animation settings for highlight/marker
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 27 May 2021 13:15:58 +0000 (15:15 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 28 May 2021 05:56:23 +0000 (07:56 +0200)
commitfe3a9194179e87a8469c16988e36b18c30d25c0a
tree8fe2f2b3cbe8f716b59a6ddea3f7073f3de29103
parenta78ec004947b0ec84287c798c63031ae43d3d23a
panel/RRDChart: fix animation settings for highlight/marker

in extjs 7.0, the marker does not have the 'fx' property anymore,
but the now documented 'animation' property does not work as it seems.

instead set the animation settings directly on the chart. The only
downside is that this is now for *all* animations, not only the
fade in of the highlight. (the default duration is 500ms)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/panel/RRDChart.js