charty-backends-jfreechart 0.1.2-java → 0.2.0-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8f426a3474ff31aef9223a51e3303129ff3b5493e0a03d139fafee0d1f72b5c
4
- data.tar.gz: 5bc47b53317b8801b109735c94ea4fcc53d44a0b9936ebf5391affff97baef35
3
+ metadata.gz: '0172928eeedf53bbaf9e305de8dcdaa0cc84026eb0fa12add80979812b702b33'
4
+ data.tar.gz: 81a7b8aa2475e04e30eeee5131597babd0c738cde7065634248ffd181503bf5d
5
5
  SHA512:
6
- metadata.gz: 450477d60253983399afdd16e04fe610588f617da743009fdeb9dcbd0d743539d057a07b0de43921fb90914b08c7738cb9662537655cee3812daf523954b1b4b
7
- data.tar.gz: 3bd4e1d9a7d27e6dad1495c06c65d87392ced9c86de06946def41a9fffbd122a5568dfc2195fe58c960d2f79f5437742f6c54352b0950daf426fd68cfdb02c3b
6
+ metadata.gz: 8bdfcfa6ac01d4ea763702927d42d00d29c3ad88feaf2cdc05c88735246df9786a3f7345074538849b929297cce0744fefae38b27fd30b65371e390f53084d8b
7
+ data.tar.gz: 5d3f685478d1e850af5a8dd29c5b27621b52c53593c9a32baa4d6100e8fe0b2ee20853e8597b6cb5a9ec86d8bebb717d3b2cd5d132e0eae03ca25704231af0fb
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 284km
3
+ Copyright (c) 2019 Red Data Tools
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -22,7 +22,45 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
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
+ ![](https://github.com/red-data-tools/charty-backends-jfreechart/blob/master/sample_images/bar_jfreechart.png)
48
+
49
+ ### barh
50
+
51
+ ![](https://github.com/red-data-tools/charty-backends-jfreechart/blob/master/sample_images/barh_jfreechart.png)
52
+
53
+ ### bubble
54
+
55
+ ![](https://github.com/red-data-tools/charty-backends-jfreechart/blob/master/sample_images/bubble_jfreechart.png)
56
+
57
+ ### curve
58
+
59
+ ![](https://github.com/red-data-tools/charty-backends-jfreechart/blob/master/sample_images/curve2_jfreechart.png)
60
+
61
+ ### scatter
62
+
63
+ ![](https://github.com/red-data-tools/charty-backends-jfreechart/blob/master/sample_images/scatter_jfreechart.png)
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/284km/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.
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/284km/charty-backends-jfreechart/blob/master/CODE_OF_CONDUCT.md).
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/284km/charty-backends-jfreechart"
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/284km/charty-backends-jfreechart"
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) }
@@ -1,7 +1,7 @@
1
1
  module Charty
2
2
  module Backends
3
3
  module Jfreechart
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
6
6
  end
7
7
  end
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.1.2
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/284km/charty-backends-jfreechart
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/284km/charty-backends-jfreechart
121
- source_code_uri: https://github.com/284km/charty-backends-jfreechart
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: