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>
marker: {
opacity: 0,
scaling: 0.01,
marker: {
opacity: 0,
scaling: 0.01,
- fx: {
- duration: 200,
- easing: 'easeOut',
- },
},
highlightCfg: {
opacity: 1,
},
highlightCfg: {
opacity: 1,
// enable animation after the store is loaded
me.store.onAfter('load', function() {
// enable animation after the store is loaded
me.store.onAfter('load', function() {
+ me.setAnimation({
+ duration: 200,
+ easing: 'easeIn',
+ });
}, this, { single: true });
},
});
}, this, { single: true });
},
});