Export x-column name in CSV if present
When exporting CSV from a chart view, the X column name was always exported as "X" even when an array was used for the X axis (e.g. time). This fix now properly exports the name of the array being used for X values, if available.