ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  bar chart overlaping x-axis labels
Posted by Raju Bishnoi on Aug-20-2010 18:15
Hi,

In bar chart overlapping the x-axis label. plz send me solutions in php method.

Check the attachment graph.

reply me ASAP

Thanks
Raju Bishnoi

  Re: bar chart overlaping x-axis labels
Posted by Peter Kwan on Aug-21-2010 01:35
Hi Raju,

For some reasons, I cannot see any attachment.

There are many methods to handle overlapping labels. If the labels are set by your code (using Axis.setLabels), in the simplest case, you may just remove some labels, like using Axis.setLabelStep. You may refer to the "Simple Line Chart" for an example. (You may look for "Simple Line Chart" from the documentation index.)

Other methods including using a smaller font, rotating the text by 45 or 90 degrees (you may browser the sample code - some of them are using rotated labels), using a larger chart, etc. If the labels are not created by your code, but are automatically generated by ChartDirector auto-scaling, you may ask ChartDirector to increase the tick density using Axis.setTickDensity.

Hope this can help.

Regards
Peter Kwan