Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Fixed Duration Series #14

Merged
merged 1 commit into from Dec 20, 2011
Merged

Conversation

travisbeck
Copy link

I wanted my graphs to be able to be listening on a page indefinitely, so I took the liberty of writing a Rickshaw.Series.FixedDuration class. It expects consumers to send timeInterval and maxDataPoints, otherwise it should be a drop in replacement for Rickshaw.Series.

I had to refactor Rickshaw.Series a bit to get it to want to be subclassed.

dchester pushed a commit that referenced this pull request Dec 20, 2011
Added Fixed Duration Series subclass
@dchester dchester merged commit 3f482fb into shutterstock:master Dec 20, 2011
@Jae
Copy link

Jae commented Feb 13, 2012

I had to change Makefile to include 'src/js/Rickshaw.Series.FixedDuration.js' could this be done?

@davidmontgom
Copy link

Is there any documentation on how to do realtime steaming? I can not get realtime to work. Random sample does not explain how to use real word ajax updates. How do I fix the below?
data = {cpuUsage:[{y: 0.999, x: 1362914221}]};
graph.series.addData(data);
graph.update();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants