Thanks again for the fix.
The snippet you posted is exactly how i'm changing the axes now.
To clarify on my prior post:
My data is formatted like so:
Code:
data: [["Category 1",400],["Category 1t",440],["Category 1",320],["Category 1",200],["Category 1",720],["Category 1",760],
["Category 1",600],["Category 1",560]]
}]
This format works with quite a few different chart types:
Area, Bar, Column, Line, Pie, Radar Area, Radar Line, Radar Spline Area, Radar Spline, Spline Area, Spline, Stacked Bar, Stacked Column
However, in order to use axes titles with this data, I have to look at the current chart type, then set the axes titles to the type required for that chart.
So my idea was if it was possible to have a generic set of axis titles supplied with the series that will automatically format for all chart types, rather than having to set category, linear, dateTime, categoryAngle, and linearRadius axes types depeneding on the chart.
Obviously, more detailed axis options would still have to be done as they are now in the axes options but I thought for something generic like axes titles, it would be nice to just supply it with the series and have it done behind the scenes...
I feel like this could be either very easy or very difficult depending on your code structure but would be a nice, simple option to have.