Sign in to follow this  
Muhammad Fahad

Can I Render Two Charts On One Form In Asp.net

Recommended Posts

Hi All,

I have one problem during rendering more than one charts in Form...

When i render only colum3d so it works perfect but when i render another pie chart on same page so it does not show data. Kindly give solution that i can show both chart on same page.

 

Thanks in Advance.

 

Regards,

Fahad

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi,

 

You can render two different charts on same page. You would need to create two separate references for it.

 

Also, you would need to add necessary JavaScript libraries for rendering the charts.

 

Ref. Code:

 

Chart1.Text = FusionCharts.RenderChart("Scripts/Column3D.swf", "Data/ChartData1.xml", "", "myChartId1", "600","400", false, true);

 

Chart2.Text = FusionCharts.RenderChart("Scripts/Pie3D.swf", "Data/ChartData2.xml", "", "myChartId2", "600","400", false, true);

 

Please refer the following URL's for more information:

http://docs.fusioncharts.com/charts/contents/?FirstChart/MultipleCharts.html

 

http://docs.fusioncharts.com/charts/contents/?guide-for-web-developers/csnet/CS_BasicExample.html

 

Also, find attached illustration for your reference.

 

Hope this helps!

MultipleCharts_OnSamePage.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this