Can chart axes be customized using setFields?
I looked through the documentation for a method called setFields
, but couldn't find one.
While I was able to use setTitle on an axes, setting the field proved to be more challenging. I have a variable called period
that contains the desired field and changes dynamically with each store update. I tried the following:
chart.axes.get('bottom').Fields = period;
Although this code does not produce any errors, it doesn't seem to work as expected...