export-csv
export-csv copied to clipboard
Improve bubble and scatter csv re: #62
The layout for the csv file is now Series Name, X, Y, (Z). Then I use the X and Y axis labels as headers. There's no Z axis label for bubble charts, so I just use 'Bubble Size' as the header.
Thanks for the PR, but we'd like to keep series consistent, so we need to work out a general way to label the columns that works for all series types. Using the axis titles is a good idea, except your code gives an error when it is not defined.
Currently a clear bug with bubbles is that the Z value is not represented at all in the column headers: http://jsfiddle.net/highcharts/cqjvD/959/
I just commited a fix for the missing column headers. I also added a formatter option. See it live on jsFiddle. How does this work for you?