Implement #452 & #454

Stock levels chart & grouping of stock counts by product type.