I got it thanks i use array_push($dataPoints, array(“x”=> $PHPstr=strtotime($row->Date)*1000, “y”=> $row->Profits));
Would i do it like this in my php array_push($dataPoints, array("x"=> $row->strtotime(Date)*1000, "y"=> $row->Profits));
array_push($dataPoints, array("x"=> $row->strtotime(Date)*1000, "y"=> $row->Profits));