Microsoft KB Archive/289853

= Office XP Chart Component Does Not Repaint Correctly After Calling Load Method =

Article ID: 289853

Article Last Modified on 9/5/2001

-

APPLIES TO


 * Microsoft Office Web Components

-



This article was previously published under Q289853



SYMPTOMS
An Office Web Components 10.0 Chart control is inserted into a Web page by using the  tag. When the Load method is used to add XML data to the Chart control, the control appears stretched or compressed. Calling the Chart control's Repaint method temporarily corrects the problem, but when the Web page loses and regains focus, the issue reappears.



CAUSE
This issue can occur if the XML data that is loaded into the Chart control contains  and  tags. If the values of Width and Height do not match the values that are set in the  tag of the Web page, the Chart control sets its zoom factor to make the data match the size of the control.



RESOLUTION
To resolve the issue, make sure that the  and  tags in the XML data match the  and  tags in the Web page. Alternatively, remove the  and  tags from the XML page. The size defaults to the size that is specified by the  tag.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Additional query words: kbOfficeXPSearch kpWebCompSearch kbOfficeXPWebComp kbOfficeDev webchart owc owc10

Keywords: kbbug kbofficewebchart KB289853

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.