fixes violation count and better places dates on x-axis of chart