shutterstock / rickshaw

JavaScript toolkit for creating interactive real-time graphs
https://shutterstock.github.io/rickshaw
MIT License
6.53k stars 941 forks source link

rendering issues with zero values #100

Closed ykim closed 12 years ago

ykim commented 12 years ago

I've been playing with the example showcasing the dynamic switching among the different graph options for rickshaw, but I've stumbled upon a weird bug. In particular, when I fill out some timestamps that I have no data for with zero, rendering becomes a bit wonky: Image Hosted by ImageShack.us

However, if I play around with the slider, it 'corrects' itself: Image Hosted by ImageShack.us

I'm not exactly sure if this is something wrong on my end when I transform the data, or if it's a known issue with rickshaw.

At the same time, I seem to be running into some weird issues with hoverdetail since it won't directly show when I hover over the data directly, but it will if I am a bit right to the data. Can this possibly be a CSS issue?

dchester commented 12 years ago

Rickshaw requires that your data be sorted in time order. Is it possible you have data points out of order? Could you provide an example?

ykim commented 12 years ago

dchester: That's actually the exact problem! I just sorted the data, and it works perfectly now! :D

However, I'm still at a loss about the hover details. Has anyone hit something similar?

dchester commented 12 years ago

Glad that helped.