diff --git a/README.md b/README.md index 360346f..466f65f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -## graphite.js +## TimeSeriesWidget -Plugin to easily make graphs and update them on the fly using +Plugin to easily make time series graphs and update them on the fly using [Graphite url api](http://readthedocs.org/docs/graphite/en/latest/url-api.html) on the background, allowing you to easily add: @@ -11,7 +11,7 @@ allowing you to easily add: * PNG's rendered by Graphite Goals: -* easy to use, elegant but powerful api. +* easy to use, elegant but powerful api, aimed to cover all your graphite/time series graphing needs. * only abstract where it makes sense. Graphite, Flot, and Rickshaw api's are awesome and powerfull, expose them * aim for some consistency in configuration across backends (to the extent possible and sane) * provide all interactive features you would expect; so that all graphite dashboards can rely on the same @@ -74,7 +74,7 @@ NA = not available (can't be done to my knowledge), WIP = work in progress (shou NA WIP (flot pull 848, flot pull 869, - branch flot-legend-toggle) + branch flot-legend-toggle) Y @@ -100,8 +100,8 @@ NA = not available (can't be done to my knowledge), WIP = work in progress (shou **any web code that can generate graphite urls can use this library with minimal transition work** -![Screenshot](https://raw.github.com/Dieterbe/graphitejs/master/screenshots/flot-annotated-event.png) -![Screenshot](https://raw.github.com/Dieterbe/graphitejs/master/screenshots/compare-stacked.png) +![Screenshot](https://raw.github.com/Dieterbe/timeserieswidget/master/screenshots/flot-annotated-event.png) +![Screenshot](https://raw.github.com/Dieterbe/timeserieswidget/master/screenshots/compare-stacked.png) ## Notes for client-side graph rendering / troubleshooting ### Configuration of graphite server / If you don't seem to get any actual data diff --git a/examples/graph-flot-fancy-stacked.html b/examples/graph-flot-fancy-stacked.html index caafbe2..e0f28ca 100644 --- a/examples/graph-flot-fancy-stacked.html +++ b/examples/graph-flot-fancy-stacked.html @@ -1,6 +1,6 @@ - + @@ -8,7 +8,7 @@ - +
diff --git a/examples/graph-flot-simple-line.html b/examples/graph-flot-simple-line.html index 6be5b39..b4ffe36 100644 --- a/examples/graph-flot-simple-line.html +++ b/examples/graph-flot-simple-line.html @@ -1,6 +1,6 @@ - + @@ -8,7 +8,7 @@ - +
diff --git a/examples/graph-png-fancy-stacked.html b/examples/graph-png-fancy-stacked.html index 1b7e4e2..0ddaad6 100644 --- a/examples/graph-png-fancy-stacked.html +++ b/examples/graph-png-fancy-stacked.html @@ -1,9 +1,9 @@ - + - + diff --git a/examples/graph-png-simple-line.html b/examples/graph-png-simple-line.html index 970394a..84631b5 100644 --- a/examples/graph-png-simple-line.html +++ b/examples/graph-png-simple-line.html @@ -1,9 +1,9 @@ - + - + diff --git a/examples/graph-png.html b/examples/graph-png.html index c5d2c91..5e28d18 100644 --- a/examples/graph-png.html +++ b/examples/graph-png.html @@ -1,9 +1,9 @@ - + - + diff --git a/examples/graph-rickshaw-fancy-stacked.html b/examples/graph-rickshaw-fancy-stacked.html index 3a1a264..00821f9 100644 --- a/examples/graph-rickshaw-fancy-stacked.html +++ b/examples/graph-rickshaw-fancy-stacked.html @@ -2,14 +2,14 @@ - + - +
diff --git a/examples/graph-rickshaw-simple-line.html b/examples/graph-rickshaw-simple-line.html index 503bc0b..60b99fb 100644 --- a/examples/graph-rickshaw-simple-line.html +++ b/examples/graph-rickshaw-simple-line.html @@ -2,14 +2,14 @@ - + - +
diff --git a/examples/graph-rickshaw.html b/examples/graph-rickshaw.html index 3a1a264..00821f9 100644 --- a/examples/graph-rickshaw.html +++ b/examples/graph-rickshaw.html @@ -2,14 +2,14 @@ - + - +
diff --git a/jquery.graphite.js b/jquery.tswidget.js similarity index 99% rename from jquery.graphite.js rename to jquery.tswidget.js index db498a1..ca6d6a7 100755 --- a/jquery.graphite.js +++ b/jquery.tswidget.js @@ -77,7 +77,7 @@ function find_definition (target_graphite, options) { var default_graphite_options = { 'fgcolor' : '#ffffff' } - var default_graphitejs_options = { + var default_tswidget_options = { 'events_color': '#ccff66', 'events_text_color': '#5C991F' } @@ -128,7 +128,7 @@ function find_definition (target_graphite, options) { // plot ($(..), [d], ..) $.fn.graphiteRick = function (options, on_error) { options = options || {}; - var settings = $.extend({}, default_graphite_options, default_graphitejs_options, $.fn.graphite.defaults, options); + var settings = $.extend({}, default_graphite_options, default_tswidget_options, $.fn.graphite.defaults, options); return this.each(function () { $this = $(this); @@ -139,7 +139,7 @@ function find_definition (target_graphite, options) { $.fn.graphiteFlot = function (options, on_error) { options = options || {}; - var settings = $.extend({}, default_graphite_options, default_graphitejs_options, $.fn.graphite.defaults, options); + var settings = $.extend({}, default_graphite_options, default_tswidget_options, $.fn.graphite.defaults, options); return this.each(function () { $this = $(this); diff --git a/graphitejs.css b/tswidget.css similarity index 100% rename from graphitejs.css rename to tswidget.css