Use this module to build histograms with discrete scales or bar diagrams.
This is the entry point to create a bar chart.
It creates an empty chart which you can use as basis, adding series to it, tuning axis and such...
use this function to add series to your bar chart.
NOTE: it won't work well if your series have different length! (in a later release we might want to do something about that)
by default, bar charts are vertical but it is nice to get them horizontal sometimes
This is an internal type to make sure we're keeping the definitions and list handling coherent and free from outside manipulation