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.
- data/lib/motion-plot/chart/line_plot.rb +13 -0
- data/lib/motion-plot/version.rb +1 -1
- metadata +1 -1
@@ -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
|
{
|
data/lib/motion-plot/version.rb
CHANGED