Link to home
Start Free TrialLog in
Avatar of Yogeshup
Yogeshup

asked on

How to assign property to change chart type dynamically?

My report needs to be stuffed with possible types of charts like Line, Bar, Pie and Stacked bar at runtime. How is this possible?
Avatar of biodooms
biodooms
Flag of Netherlands image

Hey,

I am not sure what you are trying to do but I will at least write you an example how to change propertys from the code behind.

Textbox txt = (TextBox)Panel1.Findcontrol("Textbox1");
txt.Text = "testtest";

This might as well be not the thing you want to know, but at least I tryed:).

With kind regards,

Kevin Hendricks
Avatar of Mike McCracken
Mike McCracken

Is this essentially the same question as your other one on the same line
https://www.experts-exchange.com/questions/22878280/Populating-different-types-of-charts-dynamically.html

mlmcc
As always, this is easily done with our CRChart third party add-in with the @GRAPHTYPE macro. But this product costs $$.
Thanks Dan.  DO you have any literature on your product available on the web site?  

Here is the link to the Three-D graphics site
http://www.threedgraphics.com/tdg/noteworthy/crystalreports.asp

mlmcc
Avatar of Yogeshup

ASKER

Hi Dan,
We have purchased the licensed stand-alone Crystal Report 11.0 Developer edition and also installed the Release 2 upgrade.

To have the dynamic chart type population, we need to use the CRchart component. As per the installation guide, we have just replaced the "sscsdk80.dll" shipped with that component.

Please let us know how and where to call the @GRAPHTYPE macro.
Hi,
<Comment editted by mlmcc Zone Advisor>

The short answer is to read the chapter in the manual on how to pass runtime/printtime values to CRChart macros.

-Dan
Ok then I'm stumped. They are asking implementation details about our product. I thought it would be better to bring that discussion over to our board since it is no longer generally applicable to CR. How do you suggest I answer the question?
Hi Dan / Mlmcc,

There is no such topic "how to pass runtime/printtime values to CRChart macros" in the manual.

Please suggest how to utilise the @GRAPHTYPE macro with some sample code.
ASKER CERTIFIED SOLUTION
Avatar of Dan Weingart
Dan Weingart
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Forced accept.

Computer101
EE Admin