## Cumulative histogram chart should scale Y axis so that it ranges from 0 to number of samples

## Submitted by cousteau

**Link to original bug (#733718)**

## Description

The Y-axis of a histogram chart is scaled so that its area equals the number of samples. This makes sense, since if e.g. X represents days and Y represents accidents per day, the area represents (days × accidents/day) = number of accidents.

However, cumulative histograms represent the integral of a regular histogram, i.e. the accumulated area from the beginning of the histogram. Therefore, its value goes from 0 to the total area of the original histogram. However, Gnumeric still scales the Y axis for cumulative histograms so that the AREA equals the number of samples. Instead, it should be scaled so that the LAST COLUMN of the histogram equals the number of samples.

Additionally, as an extra feature, it may be useful to optionally make it go from 0 to 100% instead.