)
We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to display multiple charts in a page?

Platform: ASP.NET Web Forms |
Control: Chart |
Published Date: January 20, 2015 |
Last Revised Date: July 2, 2019

Essential Chart supports to display multiple charts in same page. Based on the requirement, you can create multiple chart containers with different id and display charts in web page. Refer to the following code example.

ASP

    <ej:Chart ID="container" runat="server"> 
       <Series>
           <ej:Series>
               <Points>
                   <ej:Points X="Walmart" Y="13" Text="13%"></ej:Points>
                   <ej:Points X="Apple" Y="25" Text="25%"></ej:Points>
                   <ej:Points X="Best Buy" Y="12" Text="12%"></ej:Points>
                   <ej:Points X="Target" Y="7" Text="7%"></ej:Points>
                   <ej:Points X="Amazon" Y="10" Text="10%"></ej:Points>
                   <ej:Points X="Wenger" Y="13" Text="13%"></ej:Points>
                   <ej:Points X="Others" Y="20" Text="20%"></ej:Points>               
               </Points>
           </ej:Series>
       </Series>
    </ej:Chart>
    <ej:Chart ID="container1" runat="server"> 
       <Series>
           <ej:Series>
               <Points>
                   <ej:Points X="1980" Y="13"></ej:Points>
                   <ej:Points X="1984" Y="25"></ej:Points>
                   <ej:Points X="1988" Y="12"></ej:Points>
                   <ej:Points X="1992" Y="12.5"></ej:Points>
                   <ej:Points X="1996" Y="13"></ej:Points>
                   <ej:Points X="2000" Y="13.5"></ej:Points>
                   <ej:Points X="2004" Y="14"></ej:Points>
                   <ej:Points X="2008" Y="14.5"></ej:Points>
                   <ej:Points X="2012" Y="15"></ej:Points>                   
               </Points>
           </ej:Series>
       </Series>
    </ej:Chart>

 

Multiple charts in same page

2X faster development

The ultimate ASP.NET Web Forms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon