bug fix: inventory chart did not scale
fix issues with charts