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
224
DataSource Not Bound at RunTime Created UltraCharts [ Render to PDF ]
posted

Hi critical problem that i am facing is,

                I am creating multiple chart objects at runtime as per the no of data tables calculated at run time.

and i am assigning the source(data table) also at run time.

             while at the time of report genaration,every chart object that are created at run time are all get rendered to pdf format by

 for (int i = 0; i < ChartProp.dsChartSrc.Tables.Count; i++)  

{

UltraChart  ultraChart1 = arrayCharts[i];

ultraChart1 .Data.DataSource =

ChartProp.dsChartSrc.Tables[i];   

ISectionPage _sectChartPage = _sectFirst.AddPage(); 

Graphics g1 = _sectChartPage.AddCanvas(120, 60).CreateGraphics(); 

ultraChart1.RenderPdfFriendlyGraphics(g1, 325, 240);

}

         All number of charts are rendered to each of the section pages with no data source bound.(ie) chart with No DataSource bound.

          I need a quick solution for this problem. Any immediate solution!!! !!!! !!!!!

Parents Reply Children
No Data