Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
633
Pie Chart Going haywire when converted to 3D
posted

I had a simple 2D pie chart on a page that was working fine. I converted the charttype to a 3D pie chart through code. Now the charts height increases. Eventhough i have specified the hight of the chart in the markup. Any ideas what would cause the chart to change its height. Iam pasting the markup for the chart control below if it is of any help. Also this is not 100% reproducible. Sometimes the first time the chart is generated its height is correct, but after a postback the height increasses.

Ahmad

 

<igchart:UltraChart ID="UltraChart1" runat="server" BackColor="" BorderStyle="Solid"

ChartType="PieChart" Height="170px" Width="900px" Font-Bold="False" BackgroundImageFileName=""

EmptyChartText="Data Not Available." ImageUrl="" Version="7.3" Visible="False"

EnableScrollBar="True" ScrollBarImagesPrefix="scrollbar">

<Axis>

<Z TickmarkInterval="0" Visible="False">

<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"

Visible="False" />

<MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"

Visible="True" />

<Labels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" ItemFormatString="">

<SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" />

</Labels>

</Z>

<Y2 TickmarkInterval="0" Visible="False">

<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"

Visible="False" />

<MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"

Visible="True" />

<Labels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" ItemFormatString="">

<SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal"

FormatString="" />

</Labels>

</Y2>

<X Visible="True" TickmarkIntervalType="Ticks" TickmarkPercentage="0" Extent="0">

<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"

Visible="False" />

<MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"

Visible="True" />

<Labels Orientation="Horizontal" HorizontalAlign="Near" VerticalAlign="Center" ItemFormatString="&lt;ITEM_LABEL&gt;"

Font="Tahoma, 9pt">

<SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal"

FormatString="" />

</Labels>

</X>

<Y Visible="True" TickmarkInterval="0" TickmarkIntervalType="Ticks" TickmarkStyle="DataInterval"

Extent="0">

<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"

Visible="False" />

<MajorGridLines Visible="True" AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot"

Thickness="1" />

<Labels VerticalAlign="Center" Orientation="Horizontal" HorizontalAlign="Near" ItemFormatString="&lt;DATA_VALUE:#0.##&gt;"

Font="Tahoma, 9pt">

<SeriesLabels HorizontalAlign="Near" Orientation="Horizontal" VerticalAlign="Near"

FormatString="" />

</Labels>

</Y>

<X2 TickmarkInterval="0" Visible="False" Extent="20">

<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"

Visible="False" />

<MajorGridLines Visible="True" AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot"

Thickness="1" />

<Labels Orientation="Horizontal" HorizontalAlign="Near" VerticalAlign="Center" ItemFormatString="">

<SeriesLabels Orientation="Horizontal" VerticalAlign="Center" HorizontalAlign="Near"

FormatString="" />

</Labels>

</X2>

<Z2 TickmarkInterval="0" Visible="False">

<MinorGridLines AlphaLevel="255" Color="LightGray" DrawStyle="Dot" Thickness="1"

Visible="False" />

<MajorGridLines AlphaLevel="255" Color="Gainsboro" DrawStyle="Dot" Thickness="1"

Visible="True" />

<Labels HorizontalAlign="Near" ItemFormatString="" Orientation="Horizontal" VerticalAlign="Center">

<SeriesLabels HorizontalAlign="Near" VerticalAlign="Center" Orientation="Horizontal" />

</Labels>

</Z2>

<PE ElementType="None" Fill="Cornsilk" />

</Axis>

<TitleTop Font="Tahoma, 10pt, style=Bold" HorizontalAlign="Center" Extent="20" Text="All Process">

<Margins Left="125" Top="0" Bottom="0" Right="0" />

</TitleTop>

<Border Color="" Thickness="0" />

<ColorModel ModelStyle="CustomSkin" AlphaLevel="150" ColorBegin="Goldenrod">

</ColorModel>

<Legend AlphaLevel="114" BackgroundColor="" BorderColor="" DataAssociation="ColumnData"

Font="Tahoma, 7pt" SpanPercentage="15" Visible="True" Location="Left" BorderThickness="0">

<Margins Bottom="0" Left="0" Right="0" Top="0" />

</Legend>

<TitleBottom Visible="False" Extent="33" Orientation="VerticalLeftFacing" Location="Bottom"

Font="Microsoft Sans Serif, 7.8pt, style=Bold">

</TitleBottom>

<Data>

<EmptyStyle EnableLineStyle="True" EnablePE="True" EnablePoint="True">

<LineStyle DrawStyle="Dash" />

</EmptyStyle>

</Data>

<TitleRight Extent="33" Orientation="VerticalLeftFacing" Visible="True" Location="Right">

</TitleRight>

<DeploymentScenario Scenario="Session" />

<Tooltips Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"

Font-Underline="False" Font-Names="Tahoma" Font-Size="7pt" FormatString="&lt;DATA_VALUE:#0.##&gt;"

Padding="2" />

<PieChart>

<ChartText>

<igchartprop:ChartTextAppearance ChartTextFont="Tahoma, 7pt" Column="-2" ItemFormatString="&lt;DATA_VALUE:#0.##&gt;"

Row="-2" Visible="True" VerticalAlign="Far">

</igchartprop:ChartTextAppearance>

</ChartText>

</PieChart>

</igchart:UltraChart>

 

 

Parents
No Data
Reply Children