Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 780
  • Last Modified:

How can I manually set the date range of the x axis in my gantt chart??

I'm trying to graph the start and end date of multiple projects in a Gantt chart.  The report has a seperate subreport to handle every 25 records, each containing a gantt chart to display that set of records.  It was setup this way for page formatting reasons.  

Anyway, I need each charts x-axis to start and end with the same dates. (i.e each charts x-axis should start with today's date and the end of the x-axis should be the maximum end date of all the projects.)  Once the grid is setup this way i want to chart the start and end date of each project.  Right now each page's gnatt chart automatically starts with the min start date of it's set of 25 and runs through the max end date of it's set of 25. This means every gnatt chart looks differentl Can these grid or axis ranges be set manually or is that not an option.  Thanks for any help provided as i am fairly new to Crystal.
0
Summit-IT
Asked:
Summit-IT
  • 3
  • 2
1 Solution
 
frodomanCommented:
rt-click on the chart -> chart options -> grid -> scales.  From here you can manually set the dates for min and / or max.

0
 
Summit-ITAuthor Commented:
Frodman, this doesn't allow me to set the min date as "today" though.  Each time this report is run i need the chart range to start with the current date (now).  Setting the scales there doesn't allow me to manually set the max date to a function either.  I need the max date to be whatever the maximum project end date is.  this will always change based on the parameters passed by the user.
0
 
frodomanCommented:
I'm sorry to say that there isn't a quick & easy way to do this and in fact you cannot do this at all within the Crystal environment - it is functionality that is sorely missing and in my humble opinion should have been included several versions ago...

You could possibly write an application front-end that can calculate these dates and set the ranges appropriately but there is some significant work involved in doing so - and depending on your version & edition of Crystal you may or may not have the necessary components.

Your only other option would be to purchase a 3rd party plugin that allows you additional charting options.  I have one I use myself that allows exactly what you're looking for, but all of them I've seen do cost at least a couple hundred dollars (US).

frodoman
0
 
Summit-ITAuthor Commented:
frodamn -

what is the 3rd party plugin you're using.  can i get there web address?
0
 
frodomanCommented:
I'm using CRChart which is a collection of dll's that actually replace the Crystal charting dll's.  The problem is that their website disappeared about two weeks ago (www.threedgraphics.com/tdg/noteworthy/crystalreports.asp) and I have no idea why.  I don't know if the company is gone or if they're just having hosting problems, etc...

I've seen others out there, but unfortunately haven't used them so I couldn't say which are good and which are worthless...

frodoman
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now