cancel
Showing results for 
Search instead for 
Did you mean: 

Chart objects and CR .NET libraries

Former Member
0 Kudos

Is it possible to query and set the properties of chart objects, such as the chart title, subtitle and axis labels, using the CR .NET libraries? The ChartObject class in CrystalDecisions.CrystalReports.Engine, version 13.0.2000.0, has no properties or methods beyond those in its base class, ReportObject, so it appears these properties are unavailable.

If these features (which were in CRPE) are not currently available in the .NET libraries, are they on the list for inclusion in an upcoming version?

Thanks

- rick cameron

Softrak

Accepted Solutions (1)

Accepted Solutions (1)

former_member183750
Active Contributor
0 Kudos

Functionality using the Crystal Reports SDK in Visual Studio .NET is limited to the appearance of the chart in the viewer such as height and width. I find that the best documentation is here - even for CRVS:

ChartOject Members

ChartObject Properties

More info specific to SAP Crystal Reports, developer version for Microsoft Visual Studio:

SAP Crystal Reports .NET API Guide

SAP Crystal Reports .NET SDK Developer Guide

Report Application Server .NET SDK Developer Guide

Report Application Server .NET API Guide

RAS Samples (one specifica sample - Add chart)

I also often consult this 3rd party website:

http://book.soundonair.ru/sams/

- Ludek

Senior Support Engineer AGS Product Support, Global Support Center Canada

Follow us on Twitter

Got Enhancement ideas? Try the SAP Idea Place

Share Your Knowledge in SCN Topic Spaces

Former Member
0 Kudos

Hi, Ludek

It appears that the RAS .NET SDK has the ability to query and modify these properties. Is this SDK only available in a 'managed' environment - i.e. one that involves BOE or CR Server? Or can it be used in-process? (Sorry if this is an FAQ - I looked through the RAS developer guide but couldn't find a clear answer there)

Thanks

- rick cameron

Softrak

Former Member
0 Kudos

PS - I just found this: http://scn.sap.com/docs/DOC-20579 "How to Use The RAS SDK .NET With In-Process RAS Server"

The document is from 2005 - is it still valid?

Thanks

- rick cameron

Softrak

former_member183750
Active Contributor
0 Kudos

Ahhh - sorry - I should have mentioned about this (usual confusion on this SDK).

The InProc RAS SDK can be used in unmanaged applications. I should also have included the following resource that explains the how to:

How to Use The RAS SDK .NET With In-Process RAS Server

And yes, the doc from 2005 is perfectly good - no changes.

The licensing of the InProc RAS SDK is the same as ReportDoc / plain Jane CR APIs. E.g.; free runtime for win apps. Free runtime for web apps deployed internal to your organization. Extra licensing required for web apps deployed external to your organization. If you need more info on web app licensing, please contact sales: 866-681-3435

BTW.; when I played last with the RAS APIs for charts, I remember it was not a trivial exercise - just sayin ... There are bits of info that that you can search for (search box in top right corner). A search string along the lines of 'crystal net chart' will bring up more results.

- Ludek

Former Member
0 Kudos

Thanks, Ludek - It looks promising. I'll let you know how it goes!

Cheers

- rick cameron

Softrak

Answers (0)