Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

636 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