Fixing chart graphing issues