Subject: | Division by zero on unusual data |
Hey,
there's a small bug in the TimeSeries version. If there is only one item to plot, there will be a
division by zero at some point in the template. This is due to the following line:
$self->{calc}->{timescale_range} = $self->{calc}->{max_timescale_value} - $self->{calc}->
{min_timescale_value};
I haven't checked but it probably happens for the scale_value as well. Granted, plotting a
single value is hardly dead useful, but still it happened to me while testing, and the module
could handle it more gracefully.
Thanks for the cool stuff!
--
--darobin