Open RempelOliveira opened 8 years ago
When mouse hover in the last bar, the color does not change as in other.
Code:
$("#sparkline").sparkline([2,3,4,5,7,4,5], { type: 'bar', height: '40', barWidth: 12, barColor: '#ffcc33', negBarColor: '#ffcc33', zeroColor: '#ffcc33'
});
Solution:
In line 1304 (version 2.1.2 ) , change:
// will be null if the region value was null if (shapeids) {
to:
// will be null if the region value was null if (shapeids >= 0) {
When mouse hover in the last bar, the color does not change as in other.
Code:
$("#sparkline").sparkline([2,3,4,5,7,4,5], { type: 'bar', height: '40', barWidth: 12, barColor: '#ffcc33', negBarColor: '#ffcc33', zeroColor: '#ffcc33'
});