C Stock Chart Source Code - Change Chart Axis Range Programmatically