Quick Chart works in designer but has an error in runtime