Set typecast on value to be an integer otherwise highcharts will throw an error.