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

adding warning and error indicator lines to TimeSeriesView #75

Closed mchandramouli closed 10 years ago

mchandramouli commented 11 years ago

Added feature to allow TimeSeriesView to render a warning and error line at specified limits

View:

dashboard-3

Code sample:

"Queue Push": {
      source: "http://localhost:4567/",
      TimeSeries: {
        title: 'Queue Push',
        ymax: 1000,
        warn: 600,
        error: 800,
        parent: '#g2-1'
      }
    },

Added the ability to specify the number of x and y ticks

View:

dashboard

Code Sample:

"Feed Poll": {
      source: "http://localhost:4567/",
      TimeSeries: {
        title: 'Feed Poll',
        y_ticks: 2,
        display_verticals: true,
        parent: '#g1-2'
      }
    },

Removed console.log statements from graphene.events.js

mchandramouli commented 11 years ago

Can you please review this pull?

jondot commented 10 years ago

Wow, amazing work! Thanks!!