hello i have a problem and i dont understand it with the following code in aspx File:
<div class="widget-content"> <igchart:UltraChart ID="UltraChart3" runat="server"> <ClientSideEvents ClientOnMouseClick="BarChart_ClientOnMouseClick" /> </igchart:UltraChart> </div>
<div class="widget-content"> <igchart:UltraChart ID="UltraChart4" runat="server"> <ClientSideEvents ClientOnMouseClick="PieChart_ClientOnMouseClick" /> </igchart:UltraChart> </div>
<div class="widget-content"> <igchart:UltraChart ID="UltraChart1" runat="server"> <ClientSideEvents ClientOnMouseClick="ColumnChart_ClientOnMouseClick" /> </igchart:UltraChart> </div>
<div class="widget-content"> <igchart:UltraChart ID="UltraChart2" runat="server"> <ClientSideEvents ClientOnMouseClick="ColumnChart_ClientOnMouseClick" /> </igchart:UltraChart> </div>
and in aspx.cs File i render each Chart
renderUltraChart.RenderPieChart(model, UltraChart4); renderUltraChart.RenderBarChart(model, UltraChart3); renderUltraChart.RenderDayColumnChart(model, UltraChart1); renderUltraChart.RenderColumnChart(model, UltraChart2);
and the function RenderPieChart(information model, Ultrachart chart)
private void RenderPieChart(information model, Ultrachart chart){ chart.Data.ZeroAligned = true; chart.LoadPreset(preset.GetFilePath(), true);
}
the preset file ist in the Zip File.
but the Problem ist sometime in my page on the place of PieChart i am getting the ColumnChart . May be you can help me to understand this error.
Thanks
when i opened the attached PieChart.rar, i found only PieChart.aspx inside, no preset file.
please ensure that the settings for DeploymentScenario.ImageUrl are unique for each chart, because it's possible that all four charts are generating image files with the same name.