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.
Unfortunately, activation email could not send to your email. Please try again.

Chart without series inside syncfusion tab

Thread ID:

Created:

Updated:

Platform:

Replies:

120216 Sep 10,2015 06:52 PM Sep 14,2015 09:13 AM ASP.NET Web Forms 5
loading
Tags: Tab
Roimer Machacón Otero
Asked On September 10, 2015 06:52 PM

Hi we're using syncfusion tab with inside syncfusion chart. Now the datasource for the charts is loaded in postback to server. The charts load the datasource correctly out of the tab, inside not work. We´re need that the charts are within the tabs

Ragunath M [Syncfusion]
Replied On September 11, 2015 08:39 AM

Hi Romier,


Thanks for using Syncfusion product.

We have analyzed and replicated the scenario in the query. But we are not able to reproduce the reported issue.

We have attached sample for your reference. Find it from the below location

 WebApplication

Screenshot:

ejTab on Rendering with default chart :


After PostBack:


If you still face any concern, kindly revert back us by modifying the attached sample along with replication procedure. 

This will be helpful for us to find and fix the issue sooner.


Please let us know if you have any concern.


Thanks,
Ragunath M



Roimer Machacón Otero
Replied On September 11, 2015 09:40 AM

Hi, we have opened the example and this not work, attached an image showing as seen

Attachment: image_cb3651f.rar

Roimer Machacón Otero
Replied On September 11, 2015 09:41 AM

Also we've charts in all tabs and when pass to second tab the chart no appear

Roimer Machacón Otero
Replied On September 11, 2015 09:43 AM

For more information we're using Syncfusion version 12.2.0.36

Ragunath M [Syncfusion]
Replied On September 14, 2015 09:13 AM

Hi Roimer,
 
We have analyised the query. 
The sample is displayed in the given the format because the reference to the Styles scripts are missing.
We have added the reference and also provided a sample where the chart is present in all tabs and on clicking the button with postback the new pie chart is rendered in the second tab 
Code Snippet:
[ASPX.cs]



if (IsPostBack)

            {

                Series series1 = new Series();

                series1.Type = Syncfusion.JavaScript.DataVisualization.SeriesType.Pie;


                //Add Chart data

                List<Data> data1 = new List<Data>();

                Random yValue = new Random();

                for (int i = 0; i < 10; i++)

                {

                    data1.Add(new Data(i, yValue.Next(10, 50)));

                 }

                //DataSource Bind to the Series

                this.Chart2.Series.Add(series1);

                //Bind DataSource for Series 1

                this.Chart2.Series[0].DataSource = data1;

                this.Chart2.Series[0].XName = "Xvalue";

                this.Chart2.Series[0].YName = "YValue1";

                this.Chart2.Series[0].Type = Syncfusion.JavaScript.DataVisualization.SeriesType.Pie;

                this.Chart2.DataBind();

            }           
        }
Screenshot:
Tab on rendering:

 


 On Postback Pie  chart is rendered in new tab

 


We have attached the sample for your reference
WebApplication

Note: Please follow the forum 120215 for further updates.


Please let us know if you any concerns.


Regards,
Ragunath M


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

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.

;