Configurable charts fixes

make them work with datatables ajax requests
fix crashing null error if an x-value was empty
['statistics_rows'] is better written in dot notation.