Thank you for reporting this bug. We will make it our priority to review this report.
Cannot stick chart item highlight by mouse click.
Cannot stick chart item highlight by mouse click.
In Ext JS 5.0.0 I could stick chart item hightlight by mouse click. But since 5.0.1 it is not impossible to do. I checked the source and found:
Code:
onHighlightGesture: function (e) { // A click/tap on an item makes its highlight sticky. It requires another click/tap to unhighlight.
if (this.isMousePointer) {
return;
}
var me = this,
item = me.getItemForEvent(e);
if (me.highlightItem && item && (me.highlightItem.index === item.index)) {
item = null;
}
me.highlightItem = item;
me.getChart().setHighlightItem(item);
}
This condition introduces this problem.
Cannot stick chart item highlight by mouse click.
Aucun commentaire:
Enregistrer un commentaire