Want to set Abscissa series from CSV column
Greetings,
I'm setting up pChart to read from a CSV file and create a stacked bar chart. The first column is a series of dates, which I want to be set as the X-Axis (i.e. the abscissa).
I found that ImportFromCSV in v1.6 of pChart allowed you to do this, but there doesn't appear to be an equivalent argument in version 2.1.3.
From the examples I've read, I know that it is quite straight forward to define a series of static values and set those as the abscissa. However, that is only appropriate for data that has a fixed number of rows (or bars). My data, on the other hand, represents multiple monthly totals associated with my work, and so every month the abscissa needs to be longer.
So, I'm asking for a way to have a dynamic abscissa read from the contents of a CSV file, please?!
My intermediate solution has been to skip the first column via ImportFromCSV. My current results can be seen at
http://davidgilson.co.uk/bar.php and the data file I'm working from is
http://www.davidgilson.co.uk/pub-monthly.csv (this file regularly changes, as per my need for a dynamic abscissa).