Bar chart now sums up duplicate x-values.

For example, if the data set contains (1, 3), (1, 5), and (1, 7), this
will be summed and displayed as a bar for (1, 15).