You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let's say, we use data like "[{date:2013-07-13,value:'node A'},{date:2013-07-12,value:"node B"}]".
Morris will order the nodes again, to show them in right order.
But the for the "hoverCallback" method:
hoverCallback: function (index, options,content) {
var row = options.data[index];
if i choose the second node which's date is 2013-07-13, the index value will be 2, but the "options.data" is still the original data.
The text was updated successfully, but these errors were encountered:
Chart data points are sorted when using parseTime, so indices will not
always match the original data ordering.
Also fixes a couple of event triggers.
Ref: #264.
let's say, we use data like "[{date:2013-07-13,value:'node A'},{date:2013-07-12,value:"node B"}]".
Morris will order the nodes again, to show them in right order.
But the for the "hoverCallback" method:
hoverCallback: function (index, options,content) {
var row = options.data[index];
if i choose the second node which's date is 2013-07-13, the index value will be 2, but the "options.data" is still the original data.
The text was updated successfully, but these errors were encountered: