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

Posted on 2004-08-18
Medium Priority
Last Modified: 2008-02-01
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.
Question by:Summit-IT
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 42

Expert Comment

ID: 11835597
rt-click on the chart -> chart options -> grid -> scales.  From here you can manually set the dates for min and / or max.


Author Comment

ID: 11835803
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.
LVL 42

Expert Comment

ID: 11836379
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).


Author Comment

ID: 11840910
frodamn -

what is the 3rd party plugin you're using.  can i get there web address?
LVL 42

Accepted Solution

frodoman earned 500 total points
ID: 11840970
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...


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question