Duplicate Chart - Proper Generic Calculation Of Bar Chart Axis Stack Overflow