Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Chart sizing

Status
Not open for further replies.

sparkyp

Programmer
Joined
Aug 16, 2004
Messages
12
Hi,

We are using version XI of Crystal Reports. When we re-size charts in the designer to make them bigger, it seems to stretch all the components of the chart, including the data labels and titles. This makes it very difficult to make several charts consistent, since font size x will mean a different thing on every chart. It also re-sizes the squares we use to plot a second series, making them quite unsightly.

Is it possible to make a chart area bigger without re-sizing the components of the chart? We want to allow the chart to take up more space to make it less crampt.

Also, is it possible to either allow a chart to dynamically re-size, or to set the size at runtime (we are using .C#/.NET to populate the charts).

Many thanks for your help.
 
To answer the first part of your question, you can right click on the label or title and select "format axis label" or "format axis tile" and you can set the font, font size, color, etc.
 
Thanks for your response RobbieB. We are aware that font sizes can be set in this way, but the problem is that the font sizes are not abosolute (as we would expect) but seem relative to the size of the chart. So if you drop on a chart and set the axes labels (for example) to six point, and the drag the chart to expand it, the axes labels will grow as well, despite still being set to six point. The upshot of this is that you can have four different charts each with their font sizes set to six point, but the actual text will be a different sieze on each one.
 
Understood. I guess my point was, you could stretch the report to the desired size then set the font size to the desired point size. Or, does the font size still come out to what it would be if it were stretched. I'll have to look into that.
 
Thanks. Yes, stretching the chart and then setting the font to the right size is an option, but our problem is we have different charts in the same report which should be different sizes. We have to use four different font sizes to make the actual text the same size in each.

To make matters worse, we also have charts across several sub-reports, made by different people, that we want to put into one super-report. It would be great if we could say to everyone 'make all axes 6pt' or something, but we can't and have to fix the text size at the end.
 
Sorry - just re-read your post. If you re-size the chart and then set the font, it is still stretched as if you had set the size and then stretched.

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top