Solved

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

Posted on 2004-08-18
5
689 Views
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.
0
Comment
Question by:Summit-IT
  • 3
  • 2
5 Comments
 
LVL 42

Expert Comment

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

0
 

Author Comment

by:Summit-IT
Comment Utility
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
 
LVL 42

Expert Comment

by:frodoman
Comment Utility
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
 

Author Comment

by:Summit-IT
Comment Utility
frodamn -

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

Accepted Solution

by:
frodoman earned 250 total points
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now