Closed gordonwoodhull closed 8 years ago
What input data are you using? I can try to reproduce it.
For some reason, I am getting this error in the console after pulling the master branch:
ReferenceError: tip is not defined chart.selectAll("path").call(tip);
I'm testing it from an R package, so I'm not sure how to reproduce it in pure JS.
The .tip
error is just some test code I accidentally checked in - I'll remove it today.
It was just that grade[0]
wasn't rounded, while the rest were:
grades[0] = Math.round(minValue);
I think this legend code could use to be generalized for cases like where the color scale is not equally divided, or where the grades are not integers, but we can deal with that as we go along. Thanks!
seems to have rounded all of the bounds except for one