outfielding-jqplot-rails 1.0.4.1121
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +17 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +27 -0
- data/README-jqplot.txt +77 -0
- data/README.md +48 -0
- data/Rakefile +1 -0
- data/lib/outfielding-jqplot-rails/version.rb +7 -0
- data/lib/outfielding-jqplot-rails.rb +10 -0
- data/outfielding-jqplot-rails.gemspec +19 -0
- data/vendor/assets/javascripts/excanvas.js +1438 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.BezierCurveRenderer.js +313 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.barRenderer.js +797 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.blockRenderer.js +235 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.bubbleRenderer.js +759 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.canvasAxisLabelRenderer.js +203 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.canvasAxisTickRenderer.js +243 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.canvasOverlay.js +865 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.canvasTextRenderer.js +449 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.categoryAxisRenderer.js +673 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.ciParser.js +116 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.cursor.js +1108 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.dateAxisRenderer.js +737 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.donutRenderer.js +805 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.dragable.js +225 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.enhancedLegendRenderer.js +305 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.funnelRenderer.js +943 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.highlighter.js +465 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.json2.js +475 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.logAxisRenderer.js +529 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.mekkoAxisRenderer.js +611 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.mekkoRenderer.js +437 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.meterGaugeRenderer.js +1030 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.mobile.js +45 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.ohlcRenderer.js +373 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.pieRenderer.js +904 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.pointLabels.js +379 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.pyramidAxisRenderer.js +728 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.pyramidGridRenderer.js +429 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.pyramidRenderer.js +514 -0
- data/vendor/assets/javascripts/jqplot-plugins/jqplot.trendline.js +223 -0
- data/vendor/assets/javascripts/jquery.jqplot.js +11381 -0
- data/vendor/assets/stylesheets/jquery.jqplot.css +259 -0
- metadata +88 -0
data/.gitignore
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
Copyright (c) 2009-2010 Chris Leonello
|
2
|
+
jqPlot is currently available for use in all personal or commercial projects
|
3
|
+
under both the MIT and GPL version 2.0 licenses. This means that you can
|
4
|
+
choose the license that best suits your project and use it accordingly.
|
5
|
+
|
6
|
+
Gem Bundling is: Copyright (c) 2012 Jason Adam Young
|
7
|
+
|
8
|
+
MIT License
|
9
|
+
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
11
|
+
a copy of this software and associated documentation files (the
|
12
|
+
"Software"), to deal in the Software without restriction, including
|
13
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
14
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
15
|
+
permit persons to whom the Software is furnished to do so, subject to
|
16
|
+
the following conditions:
|
17
|
+
|
18
|
+
The above copyright notice and this permission notice shall be
|
19
|
+
included in all copies or substantial portions of the Software.
|
20
|
+
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
22
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
23
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
24
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
25
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
26
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
27
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README-jqplot.txt
ADDED
@@ -0,0 +1,77 @@
|
|
1
|
+
Title: jqPlot Readme
|
2
|
+
|
3
|
+
Pure JavaScript plotting plugin for jQuery.
|
4
|
+
|
5
|
+
To learn how to use jqPlot, start with the Basic Usage Instructions below. Then read the
|
6
|
+
usage.txt and jqPlotOptions.txt files included with the distribution.
|
7
|
+
|
8
|
+
The jqPlot home page is at <http://www.jqplot.com/>.
|
9
|
+
|
10
|
+
Downloads can be found at <http://bitbucket.org/cleonello/jqplot/downloads/>.
|
11
|
+
|
12
|
+
The mailing list is at <http://groups.google.com/group/jqplot-users>.
|
13
|
+
|
14
|
+
Examples and unit tests are at <http://www.jqplot.com/tests/>.
|
15
|
+
|
16
|
+
Documentation is at <http://www.jqplot.com/docs/>.
|
17
|
+
|
18
|
+
The project page and source code are at <http://www.bitbucket.org/cleonello/jqplot/>.
|
19
|
+
|
20
|
+
Bugs, issues, feature requests: <http://www.bitbucket.org/cleonello/jqplot/issues/>.
|
21
|
+
|
22
|
+
Basic Usage Instructions:
|
23
|
+
|
24
|
+
jqPlot requires jQuery (1.4+ required for certain features). jQuery 1.4.4 is included in
|
25
|
+
the distribution. To use jqPlot include jQuery, the jqPlot jQuery plugin, the jqPlot css file and
|
26
|
+
optionally the excanvas script to support IE version prior to IE 9 in your web page:
|
27
|
+
|
28
|
+
> <!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->
|
29
|
+
> <script language="javascript" type="text/javascript" src="jquery-1.4.4.min.js"></script>
|
30
|
+
> <script language="javascript" type="text/javascript" src="jquery.jqplot.min.js"></script>
|
31
|
+
> <link rel="stylesheet" type="text/css" href="jquery.jqplot.css" />
|
32
|
+
|
33
|
+
For usage instructions, see <jqPlot Usage> in usage.txt. For available options, see
|
34
|
+
<jqPlot Options> in jqPlotOptions.txt.
|
35
|
+
|
36
|
+
Building from source:
|
37
|
+
|
38
|
+
If you've cloned the repository, you can build a distribution from source.
|
39
|
+
You need to have ant <http://ant.apache.org> installed. You can simply
|
40
|
+
type "ant" from the jqplot directory to build the default "all" target.
|
41
|
+
There are 6 pertinent targets: clean, dist, min, docs, compress and all. Use:
|
42
|
+
|
43
|
+
> ant -p
|
44
|
+
|
45
|
+
to get a description of the various build targets.
|
46
|
+
|
47
|
+
Legal Notices:
|
48
|
+
|
49
|
+
Copyright (c) 2009-2010 Chris Leonello
|
50
|
+
jqPlot is currently available for use in all personal or commercial projects
|
51
|
+
under both the MIT and GPL version 2.0 licenses. This means that you can
|
52
|
+
choose the license that best suits your project and use it accordingly.
|
53
|
+
|
54
|
+
Although not required, the author would appreciate an email letting him
|
55
|
+
know of any substantial use of jqPlot. You can reach the author at:
|
56
|
+
chris at jqplot or see http://www.jqplot.com/info.php .
|
57
|
+
|
58
|
+
If you are feeling kind and generous, consider supporting the project by
|
59
|
+
making a donation at: http://www.jqplot.com/donate.php .
|
60
|
+
|
61
|
+
jqPlot includes date instance methods and printf/sprintf functions by other authors:
|
62
|
+
|
63
|
+
Date instance methods:
|
64
|
+
|
65
|
+
author Ken Snyder (ken d snyder at gmail dot com)
|
66
|
+
date 2008-09-10
|
67
|
+
version 2.0.2 (http://kendsnyder.com/sandbox/date/)
|
68
|
+
license Creative Commons Attribution License 3.0 (http://creativecommons.org/licenses/by/3.0/)
|
69
|
+
|
70
|
+
JavaScript printf/sprintf functions.
|
71
|
+
|
72
|
+
version 2007.04.27
|
73
|
+
author Ash Searle
|
74
|
+
http://hexmen.com/blog/2007/03/printf-sprintf/
|
75
|
+
http://hexmen.com/js/sprintf.js
|
76
|
+
The author (Ash Searle) has placed this code in the public domain:
|
77
|
+
"This code is unrestricted: you are free to use it however you like."
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# outfielding-jqplot-rails
|
2
|
+
|
3
|
+
This is a bundling of [jqplot](http://www.jqplot.com/) for the Rails 3.1+ asset pipeline. It's similar in idea to Matt House's [jqplot-rails](https://github.com/eightbitraptor/jqplot-rails) project, but I needed something that would keep pace with jqplot's releases (well, at least on *my* schedule, whatever that actually turns out to be).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
gem 'outfielding-jqplot-rails'
|
10
|
+
|
11
|
+
And then execute:
|
12
|
+
|
13
|
+
$ bundle install
|
14
|
+
|
15
|
+
Or install it yourself as:
|
16
|
+
|
17
|
+
$ gem install outfielding-jqplot-rails
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
In your ```app/assets/stylesheets/application.css``` file add the following:
|
22
|
+
|
23
|
+
*= require jquery.jqplot
|
24
|
+
|
25
|
+
In your ```app/assets/javascripts/application.js``` file add the following:
|
26
|
+
|
27
|
+
//= require jquery.jqplot
|
28
|
+
|
29
|
+
If you'd like to use any of the optional plugins for jqplot - include them in ```app/assets/javascripts/application.js``` e.g.
|
30
|
+
|
31
|
+
//= require jqplot-plugins/jqplot.highlighter
|
32
|
+
|
33
|
+
will include the [jqplot Highlighter](http://www.jqplot.com/docs/files/plugins/jqplot-highlighter-js.html) plugin.
|
34
|
+
|
35
|
+
The file naming is a little strange, but I'm basically just copying the distribution as is into the gem.
|
36
|
+
|
37
|
+
## Versioning
|
38
|
+
|
39
|
+
Unless otherwise noted, the outfielding-jqplot-rails version should match the jqplot distribution version included.
|
40
|
+
|
41
|
+
## LICENSE
|
42
|
+
|
43
|
+
Jqplot is Copyright (c) 2009-2010 Chris Leonello
|
44
|
+
jqPlot is currently available for use in all personal or commercial projects
|
45
|
+
under both the MIT and GPL version 2.0 licenses. This means that you can
|
46
|
+
choose the license that best suits your project and use it accordingly.
|
47
|
+
|
48
|
+
Gem Bundling is: Copyright (c) 2012 Jason Adam Young under the MIT License
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'outfielding-jqplot-rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "outfielding-jqplot-rails"
|
8
|
+
gem.version = Outfielding::Jqplot::Rails::VERSION
|
9
|
+
gem.authors = ["Jason Adam Young"]
|
10
|
+
gem.email = ["jasonadamyoung@gmail.com"]
|
11
|
+
gem.description = %q{jqplot packaged for the Rails 3.1+ asset pipeline}
|
12
|
+
gem.summary = %q{jqplot packaged for the Rails 3.1+ asset pipeline}
|
13
|
+
gem.homepage = "https://github.com/outfielding/jqplot-rails"
|
14
|
+
|
15
|
+
gem.files = `git ls-files`.split($/)
|
16
|
+
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
|
+
gem.require_paths = ["lib"]
|
19
|
+
end
|