Print Page | Close Window

Subreport chart title

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=1726
Printed Date: 03 May 2025 at 2:17pm


Topic: Subreport chart title
Posted By: CrystalVoyager
Subject: Subreport chart title
Date Posted: 20 Nov 2007 at 1:42pm

Hi,

I have a report with 6 subreports that are charts. Each chart/subreport is generated by an independent dataset. How do I change the chart title during runtime? In addition, I continue to get additional blank pages  when previewing or printing the charts. Any help would be greatly appreciated.

I could access the chartobject but could not figure out how to change the title.

CrystalDecisions.CrystalReports.Engine.ChartObject sampSubChart;

sampSubChart = (CrystalDecisions.CrystalReports.Engine.ChartObject)sampSubreport.ReportDefinition.ReportObjects["Graph1"];
 
Does anyone know, if it matters using the 9.2 vs 10.2 (dll) versions, when attempting to modify a sub report's chart?


-------------
Helping to make the world a better place, one response at a time.



Print Page | Close Window