Solved

How do I change chart titles or legends at run time

Posted on 2009-05-13
3
537 Views
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?
0
Comment
Question by:a_rediron
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 24379821
I don't think so.

mlmcc
0
 

Author Comment

by:a_rediron
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.
0
 
LVL 6

Accepted Solution

by:
Dan3D earned 300 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".

-Dan

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

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
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 …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now