jondot / graphene

Graphene is a realtime dashboard & graphing toolkit based on D3 and Backbone.
http://jondot.github.com/graphene
2.87k stars 231 forks source link

Added more logic to handle higher HSL start values for colors. #14

Closed logikal closed 12 years ago

logikal commented 12 years ago

Previously, if you picked say '190' for the start value, and a NUM_COLORS of 10, you'd hit the end of the circle before you got to 10 numbers.

This commit adds some additional logic to continue around the circle until you hit i + 360, instead of stopping short.

jondot commented 12 years ago

Great, thanks for spotting this one!