Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

format number on chart axis

Status
Not open for further replies.

krysna

Programmer
May 20, 2008
22
I have a chart in my report that shows data on change of month number. The field is a number. In the preview mode, it shows the way I want it to (i.e. 1 2 3, etc). However, when I view it on the web, served up with the ReportRenderer in java, the months display as 1.00 2.00 3.00, etc. I can't find anyplace where I can format this axis. Does anyone know where I can do this?
 
In the Crystal Designer you should be able to click on the y-axis label and bring up the Grids/scales dialog and then change the formatting to something more to your liking.

Dan Weingart
OEM Technical Manager
Three D Graphics, Inc.
 
It is actually the X-axis that I am trying to format. The Y-axis has a tab for number that you can edit the number format, but the X-axis does not.

I ended up making a formula that converts it to a string with 0 decimals and used that with a specified order instead of using the number. If anyone has a better way of doing this, let me know.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top