Configurable charts fixes

make them work with datatables ajax requests
fix crashing null error if an x-value was empty
ugh. great point. python has made me sloppy.