tiefpunkt / thingstore

MIT License
6 stars 3 forks source link

Add "steps" option to Metrics for Flot graphs #30

Open tiefpunkt opened 10 years ago

tiefpunkt commented 10 years ago

For some metrics, the interpolation between two datapoints does not make sense. Flot has a "steps" option for lines; we should use that. Ideally, you could set a flag for each metric whether to apply that option or not.

series: {
    lines: {
        steps: true
    }
}