plot_simple 0.0.3 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  <grid>
3
3
  <title><%=chart[:title]%></title>
4
4
  <background>transparent</background>
5
- <borderColor><%=chart[:border_color]%></borderColor>
5
+ <borderColor><%=chart[:background_color]%></borderColor>
6
6
  <lineColor><%=chart[:line_color]%></lineColor>
7
7
  <width><%= chart[:chart_width] %></width>
8
8
  <height><%= chart[:chart_height]%></height>
@@ -14,6 +14,10 @@ module PlotSimple
14
14
  @chart.merge!(Hash[:background_image,image])
15
15
  end
16
16
 
17
+ def setBackgroundColor(color)
18
+ @chart.merge!(Hash[:background_color,color])
19
+ end
20
+
17
21
  def setBorderColor(color)
18
22
  @chart.merge!(Hash[:border_color,color])
19
23
  end
@@ -1,10 +1,10 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{plot_simple}
3
- s.version = "0.0.3"
3
+ s.version = "0.1.1"
4
4
 
5
5
  s.required_ruby_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
6
  s.authors = %q{Travis Pessetto}
7
- s.date = %q{2012-07-20}
7
+ s.date = %q{2012-07-23}
8
8
  s.description = %q{A graphing engine for jqplot}
9
9
  s.email = %q{travis.pessetto@es3inc.com}
10
10
  s.extra_rdoc_files = [%q{README.md}, %q{lib/plot_simple.rb}]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plot_simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-20 00:00:00.000000000Z
12
+ date: 2012-07-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A graphing engine for jqplot
15
15
  email: travis.pessetto@es3inc.com
@@ -50,7 +50,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
50
  version: '0'
51
51
  requirements: []
52
52
  rubyforge_project: plot_simple
53
- rubygems_version: 1.7.2
53
+ rubygems_version: 1.8.24
54
54
  signing_key:
55
55
  specification_version: 3
56
56
  summary: A gem to simplify the creation of charts from the controller