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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfChart bug?

Thread ID:





130809 Jun 5,2017 01:06 AM UTC Jun 9,2017 06:12 AM UTC UWP 3
Tags: SfChart
Arman Balin
Asked On June 5, 2017 01:06 AM UTC


There seems to be an issue with SfChart wherein an error is thrown when I try opening an SQLite database after a chart s created.

Below is a sample method that crashes when called after a chart is created. It runs fine if there's no chart on the page yet.

        public static void GetTrendData(string assetID, ObservableCollection<StringTrendline> trendData)
            using (SqliteConnection db = new SqliteConnection("Filename=" + AppDatabase))
                SqliteDataReader query = null;
                    SqliteCommand selectCommand = new SqliteCommand("SELECT Result, MaintDate, TrendID FROM tbl_TestResult WHERE AssetID = '" + assetID + "'", db);
                    query = selectCommand.ExecuteReader();
                catch (SqliteException error)
                while (query.Read())
                    StringTrendline row = new StringTrendline()
                        AssetResult = query.GetString(0),
                        Timeline = query.GetString(1),
                        AssetTypeResult = "",
                        TrendID = query.GetString(2)

Durgadevi Selvaraj [Syncfusion]
Replied On June 7, 2017 01:59 PM UTC

Hi Arman,

Thanks for contacting Syncfusion Support.

We would like to inform you that we are unable to reproduce the reported problem at our end. We have prepared a demo sample with the reference of provided information for your reference and it can be downloaded from below link, 

If you are still able to reproduce the reported problem, please revert us by modifying the provided sample. It would be helpful for us to serve you better.

Durgadevi S

Arman Balin
Replied On June 8, 2017 08:00 AM UTC

Hi Durgadevi,

Thanks for the sample you've sent.

I ran the project by itself and it worked without the issues I'm encountering in my project.

I shall try and add this to my project and see if the issue persists.


Durgadevi Selvaraj [Syncfusion]
Replied On June 9, 2017 06:12 AM UTC

Hi Arman,

Thanks for your update.

We will wait until hear from you.

Durgadevi S


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.

Please sign in to access our forum

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

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