cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with Gantt-Chart

Former Member
0 Kudos

Hi,

I would like to know if it is possible to change the size of a Gantt-

Chart at the runtime. I want to display the startdate and enddate of

several projects to compare them. But the ammount of the records is

always different. If I display about 30 projects, the chart looks ok,

but if I choose only 3 projects the lines are very "fat".

Is there any way to handle this?

If not, is it possible too change the Date-scale at runtime (by formula

for example)? In this case I would make many small charts. But it is

necessary to have the same scale for every row.

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Guests can't get credit for their answers.

Former Member
0 Kudos

Use 2-3 different versions of the chart - in (for example) Report Header a, RHb, and RHc... Set each of the three charts up to accomodate low, medium and high numbers of projects. Condiitonally suppress those different sections containing the charts based on the number of projects.

Former Member
0 Kudos

Thank you for the quick reply.

Do you know something about the second way I described?

Or maybe you know some completly other (and better) way to solve my problem?

Greetz

Rafael

Former Member
0 Kudos

Not sure about changing the scale at runtime but from what I've learned, if it can't be done in Crystal Reports itself - it can't be done via code. And in CR the only way I know of is to do the multiple charts in multiple subsections and conditionally suppress based on the number of records (Projects in your case).

You could go to the development forum and ask the question about doing it programatically.