wxFreeChart icon indicating copy to clipboard operation
wxFreeChart copied to clipboard

Implement a 'proper' histogram plot

Open iwbnwif opened this issue 7 years ago • 0 comments

The current histogram plots do not really produce histograms, but are more or less an XY variation of a bar plot.

Histograms should be based on a category concept, and therefore use a single dimension dataset with the 'bin' ranges associated with categories.

To do this, the category set (known as the base series) in a UniDataSet should contain a HistoBin data type, with the following 3 members: double RangeLowValue double RangeHighValue wxString Name

Any value interpretation (see value interpretation description) that falls between RangeLowValue and RangeHighValue gets aggregated to the appropriate bin.

The chart is then plotted as a bar plot with the value of each category being the number of data points in that category's bin.

iwbnwif avatar May 18 '17 11:05 iwbnwif