PRB: Data Bound Office XP Chart Prints Incorrectly From Internet Explorer 5.0 (286323)
The information in this article applies to:
- Microsoft Office XP Web Components
- Microsoft Internet Explorer (Programming) 4.0
- Microsoft Internet Explorer (Programming) 4.01
- Microsoft Internet Explorer (Programming) 4.01 SP1
- Microsoft Internet Explorer (Programming) 4.01 SP2
- Microsoft Internet Explorer (Programming) 5
- Microsoft Internet Explorer (Programming) 5.01
- Microsoft Internet Explorer (Programming) 5.01 SP1
This article was previously published under Q286323 SYMPTOMS
When you print a Web page containing an Office Chart component from Internet Explorer, the chart that results in the printed output does not contain the series data.
CAUSE
This problem occurs when the Chart is bound to a DataSource Control (DSC) or an ActiveX Data Objects (ADO) Recordset with script. When you print a Web page from Internet Explorer, the page is persisted to the Temp directory. Internet Explorer then creates a new process which loads the persisted page for printing. When the persisted page is loaded, script is not run; therefore, if you use script in the onLoad event for binding the chart, the chart will not be bound and may not appear correctly in the printed output.
Internet Explorer expects that controls on a Web page persist their data before saving the temporary page for printing. Because the Chart does persist literal data into its XMLData parameter, this problem does not occur when the Chart uses literal data.
RESOLUTION
To correct this problem, do either of the following things:
REFERENCES288907 INFO: Creating Bound Charts with the Office XP Chart
286320 HOWTO: Bind the Office XP Chart Component to a PivotTable
In addition, the following Microsoft Web sites provide resources for scripting and working with the Microsoft Office Web components:
(c) Microsoft Corporation 2001, All Rights Reserved. Contributions by Chris Jensen, Microsoft Corporation.
Modification Type: | Minor | Last Reviewed: | 8/23/2005 |
---|
Keywords: | kbOfficeWebChart kbprb KB286323 |
---|
|