properly update charts with datatables ajax requests
fix for null value crashing charts