Usage

Somewhere in your HTML:

<flot-chart id="some_chart"></flot-chart>

Then set the data from JavaScript:

var some_series = [];
for (var i = 0; i < 14; i += 0.5) {
  some_series.push([i, Math.sin(i)]);
}

$("#some_chart").prop('data', [some_series]);

Examples

Have a look at a vulcanized example and its source converted from the Flot's own examples.

Authors and Contributors

Riyad Preukschas (@riyad)

Support or Contact

Please use GitHub to report issues or send pull requests.