mirror of
https://gitlab.com/JKANetwork/CheckServer.git
synced 2026-02-15 09:41:33 +01:00
Start again
This commit is contained in:
36
vendors/flot.orderbars/README.md
vendored
Normal file
36
vendors/flot.orderbars/README.md
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
flot-orderBars
|
||||
==============
|
||||
|
||||
Fork of the Flot OrderBars plugin found here: http://www.benjaminbuffet.com/public/js/jquery.flot.orderBars.js
|
||||
|
||||
Improvements
|
||||
============
|
||||
|
||||
### Compatability with Flot Stack Plugin
|
||||
The main improvement I've made is compatability with the [Flot Stack plugin](https://github.com/flot/flot/blob/master/jquery.flot.stack.js).
|
||||
|
||||
To use the 2 together:
|
||||
* Ensure that your data is well formed. Each series should contain a bars object with an order integer, like so:
|
||||
```javascript
|
||||
var series = [];
|
||||
|
||||
series.push({
|
||||
data: [], // your raw data
|
||||
bars: {
|
||||
order: 0
|
||||
}
|
||||
});
|
||||
|
||||
series.push({
|
||||
data: [], // your raw data
|
||||
bars: {
|
||||
order: 1
|
||||
}
|
||||
});
|
||||
```
|
||||
|
||||
* Ensure that the order bars plugin is loaded __before__ the stack plugin.
|
||||
|
||||
See the example for more information.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user