motion-plot 0.4.8 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -29,6 +29,19 @@ module MotionPlot
29
29
  end
30
30
  end
31
31
 
32
+ def default_padding
33
+ line_series.style.paddings_for(@graph)
34
+ line_series.style.plot_area.add_style(@graph.plotAreaFrame)
35
+ end
36
+
37
+ def line_series
38
+ @series[plot_identifier]
39
+ end
40
+
41
+ def plot_identifier
42
+ @series.keys.select{|k| @series[k].type == plot_type}.first
43
+ end
44
+
32
45
  protected
33
46
  def default_style
34
47
  {
@@ -1,3 +1,3 @@
1
1
  module MotionPlot
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-plot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.8
4
+ version: 0.4.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: