How do I change chart titles or legends at run time

Posted on 2009-05-13
Medium Priority
Last Modified: 2012-08-13
In Crystal Reports 2008 can I change the title or legend of a chart by using a parameter or from VB code?  I want to change it at run time.  Is it possible?
Question by:a_rediron
LVL 101

Expert Comment

ID: 24379821
I don't think so.


Author Comment

ID: 24380980
I am new to Crystal Reports.

Am I not able to some how edit the title using CRAXDRT.GraphObject?  I can't figure out how to get this object from my report in VB.  

Thanks for your help.

Accepted Solution

Dan Weingart earned 1200 total points
ID: 24381084
For the title, you could HIDE the chart title and then just use a Crystal text block instead, where I expect you COULD set the value at runtime.

For the legend, you could consider the same concept: Hide the chart legend and construct your own proxy out of CR text and graphic primitives.

If money is no object, our CRChart add-in for CR has some abilities to solve these issues, but even then it can be a bit "klunky".


disclaimer: I work for the company, threedgraphics.com, that makes CRChart. This product costs money.

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
In this video I will demonstrate how to set up Nine, which I now consider the best alternative email app to Touchdown.
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …

624 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