For a chart you can define the fonts and colors you want to use for the different components (mostly text) on the chart. This works great except for the Grid Label. It seems that that value never gets stored when you change it.

I thought if I wanted to change the grid lines of the chart I could change the Grid Label settings. I'm not sure why Label is specified after Grid and not Line, as I'm not aware of labels against the grid. It seems that currently there is a hardcoded value of "Black" against the line color of the X axis grid and nothing for the Y axis grid (so default of AnyChart).
Again the workaround is simple if you want to have a different line colors of the grid (X / Y Axis), you can just change it in the XML after you specified Custom XML = Yes.

The chart looks like this after doing the above change:


2 comments:
Hi Dimitri,
The fact that the "Grid Label" option is visible in APEX 4.0 is the actual bug. In APEX charts there has never been an option exposed via the UI to change the grid line colours. In previous APEX releases, the 'Grid Label' option settings control the font size and colour of the X & Y axis labels, thus the 'Grid Label' name. However, with APEX 4.0, separate "X Axis Labels" and "Y Axis Labels" items were introduced to allow for the setting of their associated item font size and colour. The 'Grid Label' items should actually be removed, and I'll ensure that they are removed for our next release, to avoid any such confusion. In the meantime, if you do wish to apply a specific colour to the lines of a grid, then Custom XML will need to be used.
Regards,
Hilary
Verified on APEX 4.1 EA and the Grid Label was removed.
Post a Comment