public BarChart (Axis<X> xAxis, Axis<Y> yAxis)

Construct a new BarChart with the given axis. The two axis should be a ValueAxis/NumberAxis and a CategoryAxis, they can be in either order depending on if you want a horizontal or vertical bar chart.

Parameters:
xAxis    The x axis to use
yAxis    The y axis to use