Hi Helmut,
By default, all axes will have stroke marks (called "ticks" in ChartDirector documentation). Is it possible that your code sets the stroke mark to transparent? Is there a line that calls Axis.setColors?
In the original histogram sample code, there are the following lines. The first line sets the stroke mark to grey (&H888888). The second line sets the stroke mark to transparent.
Call c.xAxis().setColors(cd.Transparent, cd.TextColor, cd.TextColor, &H888888)
Call c.yAxis().setColors(cd.Transparent)
If your code have similar lines to configure the axis color, please make sure you use the one with 4 arguments like the first line above, and set the last argument, which is the stroke mark color, to a color of your choice.
Regards
Peter Kwan |