diff options
-rw-r--r-- | lib/SVG/Graph/TimeSeries.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SVG/Graph/TimeSeries.rb b/lib/SVG/Graph/TimeSeries.rb index bfa7c960c..e6a3a0f16 100644 --- a/lib/SVG/Graph/TimeSeries.rb +++ b/lib/SVG/Graph/TimeSeries.rb @@ -171,7 +171,7 @@ module SVG protected
def min_x_value=(value)
- @min_x_value = DateTime.parse( data[:data][i] ).to_time
+ @min_x_value = DateTime.parse( value ).to_time
end
|