Skip to content

Commit

Permalink
Merge pull request #165 from liuxuan30/master
Browse files Browse the repository at this point in the history
Fix a silly bug. should check if first is -0.0
  • Loading branch information
danielgindi committed Jun 19, 2015
2 parents 6190b08 + 0def7bf commit ba71929
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class ChartYAxisRendererRadarChart: ChartYAxisRenderer
else
{
var first = ceil(Double(yMin) / interval) * interval;
if (first.isSignMinus)
if (first == 0.0 && first.isSignMinus)
{
first = -first;
}
Expand Down

0 comments on commit ba71929

Please sign in to comment.