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
Solved

How do I change chart titles or legends at run time

Posted on 2009-05-13
3
541 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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.

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

Suggested Solutions

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 …
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

790 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