btw - I also converted your data points for your series data in the arrays J and B into integers, otherwise your chart will show no data. Series data has to be in integer form.