Solved

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

Posted on 2004-08-18
5
730 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
[X]
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
5 Comments
 
LVL 42

Expert Comment

by:frodoman
ID: 11835597
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
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.
0
 
LVL 42

Expert Comment

by:frodoman
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).

frodoman
0
 

Author Comment

by:Summit-IT
ID: 11840910
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
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...

frodoman
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Crystal Reports No Record Returned 2 90
How to modify the SQL query in Crystal 2016 1 51
Page Break on Change of Field 2 38
Getting Maximum Score for certain records 7 26
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…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

734 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