charty-backends-jfreechart 0.1.2-java → 0.2.0-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +41 -3
- data/charty-backends-jfreechart.gemspec +3 -3
- data/lib/charty/backends/jfreechart/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: '0172928eeedf53bbaf9e305de8dcdaa0cc84026eb0fa12add80979812b702b33'
|
|
4
|
+
data.tar.gz: 81a7b8aa2475e04e30eeee5131597babd0c738cde7065634248ffd181503bf5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8bdfcfa6ac01d4ea763702927d42d00d29c3ad88feaf2cdc05c88735246df9786a3f7345074538849b929297cce0744fefae38b27fd30b65371e390f53084d8b
|
|
7
|
+
data.tar.gz: 5d3f685478d1e850af5a8dd29c5b27621b52c53593c9a32baa4d6100e8fe0b2ee20853e8597b6cb5a9ec86d8bebb717d3b2cd5d132e0eae03ca25704231af0fb
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -22,7 +22,45 @@ Or install it yourself as:
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
see also https://github.com/red-data-tools/charty#examples
|
|
26
|
+
|
|
27
|
+
```ruby
|
|
28
|
+
require "charty-backends-jfreechart"
|
|
29
|
+
charty = Charty::Plotter.new(:jfreechart)
|
|
30
|
+
|
|
31
|
+
bar = charty.bar do
|
|
32
|
+
series [0,1,2,3,4], [10,40,20,90,70], label: "sample1"
|
|
33
|
+
series [0,1,2,3,4], [90,80,70,60,50], label: "sample2"
|
|
34
|
+
series [0,1,2,3,4,5,6,7,8], [50,60,20,30,10, 90, 0, 100, 50], label: "sample3"
|
|
35
|
+
range x: 0..10, y: 1..100
|
|
36
|
+
xlabel 'foo'
|
|
37
|
+
ylabel 'bar'
|
|
38
|
+
title 'bar plot'
|
|
39
|
+
end
|
|
40
|
+
bar.render("sample_images/bar_jfreechart.png")
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Images
|
|
44
|
+
|
|
45
|
+
### bar
|
|
46
|
+
|
|
47
|
+

|
|
48
|
+
|
|
49
|
+
### barh
|
|
50
|
+
|
|
51
|
+

|
|
52
|
+
|
|
53
|
+
### bubble
|
|
54
|
+
|
|
55
|
+

|
|
56
|
+
|
|
57
|
+
### curve
|
|
58
|
+
|
|
59
|
+

|
|
60
|
+
|
|
61
|
+
### scatter
|
|
62
|
+
|
|
63
|
+

|
|
26
64
|
|
|
27
65
|
## Development
|
|
28
66
|
|
|
@@ -32,7 +70,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
|
32
70
|
|
|
33
71
|
## Contributing
|
|
34
72
|
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
|
73
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/red-data-tools/charty-backends-jfreechart. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
|
36
74
|
|
|
37
75
|
## License
|
|
38
76
|
|
|
@@ -40,4 +78,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
|
40
78
|
|
|
41
79
|
## Code of Conduct
|
|
42
80
|
|
|
43
|
-
Everyone interacting in the Charty::Backends::Jfreechart project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
|
81
|
+
Everyone interacting in the Charty::Backends::Jfreechart project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/red-data-tools/charty-backends-jfreechart/blob/master/CODE_OF_CONDUCT.md).
|
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
|
10
10
|
|
|
11
11
|
spec.summary = %q{Charty JFreeChart backend adapter}
|
|
12
12
|
spec.description = %q{Charty JFreeChart backend adapter}
|
|
13
|
-
spec.homepage = "https://github.com/
|
|
13
|
+
spec.homepage = "https://github.com/red-data-tools/charty-backends-jfreechart"
|
|
14
14
|
spec.license = "MIT"
|
|
15
15
|
|
|
16
16
|
spec.platform = "java"
|
|
@@ -18,13 +18,13 @@ Gem::Specification.new do |spec|
|
|
|
18
18
|
spec.add_runtime_dependency 'jar-dependencies'
|
|
19
19
|
|
|
20
20
|
spec.metadata["homepage_uri"] = spec.homepage
|
|
21
|
-
spec.metadata["source_code_uri"] = "https://github.com/
|
|
21
|
+
spec.metadata["source_code_uri"] = "https://github.com/red-data-tools/charty-backends-jfreechart"
|
|
22
22
|
# spec.metadata["changelog_uri"] = ""
|
|
23
23
|
|
|
24
24
|
# Specify which files should be added to the gem when it is released.
|
|
25
25
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
26
26
|
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
|
27
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
27
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample_images)/}) }
|
|
28
28
|
end
|
|
29
29
|
spec.bindir = "exe"
|
|
30
30
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: charty-backends-jfreechart
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: java
|
|
6
6
|
authors:
|
|
7
7
|
- 284km
|
|
@@ -113,12 +113,12 @@ files:
|
|
|
113
113
|
- charty-backends-jfreechart.gemspec
|
|
114
114
|
- lib/charty/backends/jfreechart.rb
|
|
115
115
|
- lib/charty/backends/jfreechart/version.rb
|
|
116
|
-
homepage: https://github.com/
|
|
116
|
+
homepage: https://github.com/red-data-tools/charty-backends-jfreechart
|
|
117
117
|
licenses:
|
|
118
118
|
- MIT
|
|
119
119
|
metadata:
|
|
120
|
-
homepage_uri: https://github.com/
|
|
121
|
-
source_code_uri: https://github.com/
|
|
120
|
+
homepage_uri: https://github.com/red-data-tools/charty-backends-jfreechart
|
|
121
|
+
source_code_uri: https://github.com/red-data-tools/charty-backends-jfreechart
|
|
122
122
|
post_install_message:
|
|
123
123
|
rdoc_options: []
|
|
124
124
|
require_paths:
|