I
IvarZap
Any time I add a chart (Microsof Office Chart 11.0) to a form, bind to
XMLData a fill some example data, IP crashes when I print preview, print,
press about on chart ... but the chart shows correctly on form.
I have IP w/sp2 and have tried the same form on several computers (with sp1
and/or sp2, with windows XP or 2003), with the same result.
Any idea?
The XMLData which is causing this behavior is :
<xml xmlns:x="urn:schemas-microsoft-comffice:excel">
<x:ChartSpace>
<x:OWCVersion>11.0.0.6555 </x:OWCVersion>
<x:Width>15240</x:Width>
<x:Height>14605</x:Height>
<x:AllowPropertyBrowser/>
<x:FormatValue>
<xataSourceIndex>-3</xataSourceIndex>
<xata>2</xata>
</x:FormatValue>
<xisplayFieldList/>
<xalette>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#8080FF</x:Entry>
<x:Entry>#802060</x:Entry>
<x:Entry>#FFFFA0</x:Entry>
<x:Entry>#A0E0E0</x:Entry>
<x:Entry>#600080</x:Entry>
<x:Entry>#FF8080</x:Entry>
<x:Entry>#008080</x:Entry>
<x:Entry>#C0C0FF</x:Entry>
<x:Entry>#000080</x:Entry>
<x:Entry>#FF00FF</x:Entry>
<x:Entry>#80FFFF</x:Entry>
<x:Entry>#0080FF</x:Entry>
<x:Entry>#FF8080</x:Entry>
<x:Entry>#C0FF80</x:Entry>
<x:Entry>#FFC0FF</x:Entry>
<x:Entry>#FF80FF</x:Entry>
</xalette>
<xefaultFont>Arial</xefaultFont>
<x:Chart>
<xlotArea>
<x:Graph>
<x:SubType>Clustered</x:SubType>
<x:Type>Column</x:Type>
<x:Series>
<x:FormatMap>
</x:FormatMap>
<x:Name>GName</x:Name>
<x:Caption>
<xataSourceIndex>-1</xataSourceIndex>
<xata>"Column1"</xata>
</x:Caption>
<x:Index>0</x:Index>
<x:Category>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{"Column2"}</xata>
</x:Category>
<x:Value>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{12.0,14.0}</xata>
</x:Value>
<x:Marker>
<x:Symbol>None</x:Symbol>
</x:Marker>
<x:Explode>0</x:Explode>
<x:Thickness>10</x:Thickness>
</x:Series>
<x:Series>
<x:FormatMap>
</x:FormatMap>
<x:Name>GName2</x:Name>
<x:Caption>
<xataSourceIndex>-1</xataSourceIndex>
<xata>"Row1"</xata>
</x:Caption>
<x:Index>1</x:Index>
<x:Category>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{"Row2"}</xata>
</x:Category>
<x:Value>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{13.0,15.0}</xata>
</x:Value>
<x:Marker>
<x:Symbol>None</x:Symbol>
</x:Marker>
<x:Explode>0</x:Explode>
<x:Thickness>10</x:Thickness>
</x:Series>
<ximension>
<x:ScaleID>68557104</x:ScaleID>
<x:Index>Categories</x:Index>
</ximension>
<ximension>
<x:ScaleID>68570800</x:ScaleID>
<x:Index>Value</x:Index>
</ximension>
<x:Overlap>0</x:Overlap>
<x:GapWidth>150</x:GapWidth>
<x:FirstSliceAngle>0</x:FirstSliceAngle>
</x:Graph>
<x:Axis>
<x:AxisID>68566208</x:AxisID>
<x:ScaleID>68557104</x:ScaleID>
<x:Type>Category</x:Type>
<x:MajorTick>Outside</x:MajorTick>
<x:MinorTick>None</x:MinorTick>
<xlacement>Bottom</xlacement>
<x:GroupingEnum>Auto</x:GroupingEnum>
</x:Axis>
<x:Axis>
<x:AxisID>68566960</x:AxisID>
<x:ScaleID>68570800</x:ScaleID>
<x:Type>Value</x:Type>
<x:MajorGridlines>
</x:MajorGridlines>
<x:MajorTick>Outside</x:MajorTick>
<x:MinorTick>None</x:MinorTick>
<xlacement>Left</xlacement>
</x:Axis>
</xlotArea>
</x:Chart>
<x:Legend>
<xlacement>Right</xlacement>
</x:Legend>
<x:Scaling>
<x:ScaleID>68557104</x:ScaleID>
</x:Scaling>
<x:Scaling>
<x:ScaleID>68570800</x:ScaleID>
</x:Scaling>
</x:ChartSpace>
</xml>
XMLData a fill some example data, IP crashes when I print preview, print,
press about on chart ... but the chart shows correctly on form.
I have IP w/sp2 and have tried the same form on several computers (with sp1
and/or sp2, with windows XP or 2003), with the same result.
Any idea?
The XMLData which is causing this behavior is :
<xml xmlns:x="urn:schemas-microsoft-comffice:excel">
<x:ChartSpace>
<x:OWCVersion>11.0.0.6555 </x:OWCVersion>
<x:Width>15240</x:Width>
<x:Height>14605</x:Height>
<x:AllowPropertyBrowser/>
<x:FormatValue>
<xataSourceIndex>-3</xataSourceIndex>
<xata>2</xata>
</x:FormatValue>
<xisplayFieldList/>
<xalette>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#000000</x:Entry>
<x:Entry>#8080FF</x:Entry>
<x:Entry>#802060</x:Entry>
<x:Entry>#FFFFA0</x:Entry>
<x:Entry>#A0E0E0</x:Entry>
<x:Entry>#600080</x:Entry>
<x:Entry>#FF8080</x:Entry>
<x:Entry>#008080</x:Entry>
<x:Entry>#C0C0FF</x:Entry>
<x:Entry>#000080</x:Entry>
<x:Entry>#FF00FF</x:Entry>
<x:Entry>#80FFFF</x:Entry>
<x:Entry>#0080FF</x:Entry>
<x:Entry>#FF8080</x:Entry>
<x:Entry>#C0FF80</x:Entry>
<x:Entry>#FFC0FF</x:Entry>
<x:Entry>#FF80FF</x:Entry>
</xalette>
<xefaultFont>Arial</xefaultFont>
<x:Chart>
<xlotArea>
<x:Graph>
<x:SubType>Clustered</x:SubType>
<x:Type>Column</x:Type>
<x:Series>
<x:FormatMap>
</x:FormatMap>
<x:Name>GName</x:Name>
<x:Caption>
<xataSourceIndex>-1</xataSourceIndex>
<xata>"Column1"</xata>
</x:Caption>
<x:Index>0</x:Index>
<x:Category>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{"Column2"}</xata>
</x:Category>
<x:Value>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{12.0,14.0}</xata>
</x:Value>
<x:Marker>
<x:Symbol>None</x:Symbol>
</x:Marker>
<x:Explode>0</x:Explode>
<x:Thickness>10</x:Thickness>
</x:Series>
<x:Series>
<x:FormatMap>
</x:FormatMap>
<x:Name>GName2</x:Name>
<x:Caption>
<xataSourceIndex>-1</xataSourceIndex>
<xata>"Row1"</xata>
</x:Caption>
<x:Index>1</x:Index>
<x:Category>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{"Row2"}</xata>
</x:Category>
<x:Value>
<xataSourceIndex>-1</xataSourceIndex>
<xata>{13.0,15.0}</xata>
</x:Value>
<x:Marker>
<x:Symbol>None</x:Symbol>
</x:Marker>
<x:Explode>0</x:Explode>
<x:Thickness>10</x:Thickness>
</x:Series>
<ximension>
<x:ScaleID>68557104</x:ScaleID>
<x:Index>Categories</x:Index>
</ximension>
<ximension>
<x:ScaleID>68570800</x:ScaleID>
<x:Index>Value</x:Index>
</ximension>
<x:Overlap>0</x:Overlap>
<x:GapWidth>150</x:GapWidth>
<x:FirstSliceAngle>0</x:FirstSliceAngle>
</x:Graph>
<x:Axis>
<x:AxisID>68566208</x:AxisID>
<x:ScaleID>68557104</x:ScaleID>
<x:Type>Category</x:Type>
<x:MajorTick>Outside</x:MajorTick>
<x:MinorTick>None</x:MinorTick>
<xlacement>Bottom</xlacement>
<x:GroupingEnum>Auto</x:GroupingEnum>
</x:Axis>
<x:Axis>
<x:AxisID>68566960</x:AxisID>
<x:ScaleID>68570800</x:ScaleID>
<x:Type>Value</x:Type>
<x:MajorGridlines>
</x:MajorGridlines>
<x:MajorTick>Outside</x:MajorTick>
<x:MinorTick>None</x:MinorTick>
<xlacement>Left</xlacement>
</x:Axis>
</xlotArea>
</x:Chart>
<x:Legend>
<xlacement>Right</xlacement>
</x:Legend>
<x:Scaling>
<x:ScaleID>68557104</x:ScaleID>
</x:Scaling>
<x:Scaling>
<x:ScaleID>68570800</x:ScaleID>
</x:Scaling>
</x:ChartSpace>
</xml>