Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Defensive programming: more urlencode/htmlentities | Peter Wu | 2014-07-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | Make build_url return an URL, not HTML. This separates presentation from data. plugin_header's return value is unused, remove the unnecessary return. At places where `printf("<tag att='%s'>", $x);` is used, it is now converted to `printf("<tag att=\"%s\">", htmlentities($x));` since the single quote is not escaped by default by htmlentities. In case the canvas style is used, JS should use `textContent` instead of `innerHTML` to avoid reading `"` instead of `"`. Nobody (should) use(s) IE6 anymore, so it is a safe change. While at it, use the standard charset attribute of meta to specify the character set (UTF-8). | ||||
* | jsrrdgraph: RrdGraph.js: make HRULE support reference to variable | Pim van den Berg | 2014-07-05 | 1 | -1/+3 |
| | | | | | | The value of HRULE could be a reference to for example a VDEF variable. Closes #85 | ||||
* | jsrrdgraph: Fix graph width to look like rrdtool. | Manuel Luis Sanmartín Rozada | 2014-06-28 | 1 | -2/+1 |
| | |||||
* | jsrrdgraph: Fix errors in second axis. | Manuel Luis Sanmartín Rozada | 2014-06-28 | 1 | -2/+2 |
| | |||||
* | Add a configuration option for sync/async choice for the canvas graphs | Vincent Brillault | 2014-01-12 | 3 | -22/+42 |
| | |||||
* | jsrrdgraph: CGP.js: split draw(id) into prepare_draw(id) and draw(id) | Vincent Brillault | 2014-01-12 | 1 | -1/+7 |
| | |||||
* | jsrrdgraph: Change alter for thow | Manuel Luis Sanmartín Rozada | 2014-01-12 | 1 | -4/+2 |
| | |||||
* | jsrrdgraph: RrdGraph.js: Add RrdGraph.prototype.graph_paint_async method | Vincent Brillault | 2014-01-12 | 1 | -0/+93 |
| | |||||
* | jsrrdgraph: RrdDataFile.js: Add async function (fetch_async) to RrdDataFile | Vincent Brillault | 2014-01-12 | 1 | -0/+39 |
| | |||||
* | jsrrdgraph: RrdGraph.js: splitting RrdGraph.prototype.graph_paint into init, ↵ | Vincent Brillault | 2014-01-12 | 1 | -3/+13 |
| | | | | fetch and draw | ||||
* | jsrrdgraph: RrdGraph.js: fix some indentation | Vincent Brillault | 2014-01-12 | 1 | -4/+4 |
| | |||||
* | jsrrdgraph: RrdDataFile.js: splitting fetch into fetch & build | Vincent Brillault | 2014-01-12 | 1 | -10/+15 |
| | |||||
* | jsrrdgraph: RrdDataFile.js: fix space/tabulation | Vincent Brillault | 2014-01-12 | 1 | -21/+21 |
| | |||||
* | jsrrdgraph: RrdGraph.js: gprint: fix check for undefined format in case of vdef | Pim van den Berg | 2013-05-18 | 1 | -1/+1 |
| | | | | | | | | | | The GPRINT of a VDEF doesn't have a CF. For example: > "GPRINT:avg:LAST:%5.1lf%s Last" > "GPRINT:tot:%5.1lf%s Total\l" The format will be passed via the cf variable, so format is not defined. But it didn't show up in the legend. Firebug showed variable format isn't undefined, but an empty string in case of VDEF. So just check for falsy. | ||||
* | integrate jsrrdgraph in CGP | Pim van den Berg | 2013-05-18 | 1 | -0/+124 |
| | |||||
* | jsrrdgraph: RrdGraph.js: fix undefined 2nd argument of RrdVdef function | Pim van den Berg | 2013-05-13 | 1 | -1/+1 |
| | | | | | This fixes this error: > TypeError: Cannot call method 'indexOf' of undefined at new RrdVdef | ||||
* | import js directory from jsrrdgraph for client side graph rendering | Pim van den Berg | 2013-05-10 | 15 | -0/+7984 |
Source: https://github.com/manuelluis/jsrrdgraph@276b880 |