g.raphael icon indicating copy to clipboard operation
g.raphael copied to clipboard

hoverColumn bug in linechart (and its fix)

Open swanandgore opened this issue 15 years ago • 2 comments

Hovering over a column in linechart can create tags in unintended places. This is because createColumns() in g.line.js does not work properly - Xs.sort() does not sort in numerical order! This can be fixed easily by writing code that sorts numerically.

swanandgore avatar Jan 19 '10 15:01 swanandgore

Example: Xs.sort(function(a,b) {return a-b});

samgrigg avatar Feb 01 '12 20:02 samgrigg

The fix of samgrigg seems to solve the problem for a lot of persons. Will it be implemented?

Louhike avatar Apr 03 '13 13:04 Louhike