Move charting classes into the chart package. Fix a bug with number of ticks calculation in the StableTicksAxis and update its unit test.