Good Afternoon,
I am trying to figure out what this message means:
"Cannot bind to non-supported datasource: Graph_"
All I do is add a ScrollPager to the chart and set the series. The exception stack is listed below:
at Steema.TeeChart.Styles.Series.FillFromDataSource()
at Steema.TeeChart.Styles.Series.Added()
at Steema.TeeChart.Styles.SeriesCollection.Add(Series s)
at Steema.TeeChart.Tools.ScrollPager.CopySeries()
at Steema.TeeChart.Tools.ScrollPager.SetUpScrollPager()
at Steema.TeeChart.Tools.ScrollPager.SetSeries(Series value)
I have tried to duplicate the error using a simple chart but I cannot. I have tried to compare visually in the debugger the difference between the two charts and still nothing.
The weirdest part of this is that if I pop up the TChart editor move to the Chart/Data tab and close the editor then the adding of the ScrollPager works fine after that. So the TChart data editor does "something" to make everything fine. What it does is beyond me.
Is there any way to figure out what this exception means without making a simple demo for you guys?
Cannot bind to non-supported datasource: Graph_
-
- Newbie
- Posts: 93
- Joined: Thu Apr 17, 2008 12:00 am
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Cannot bind to non-supported datasource: Graph_
Hello!
Anyhow, the error you are experiencing is thrown at this point in the TeeChart code:
which means that "Graph_" is the name of the datasource here - this must mean you have an object named "Graph_" in your code, correct? If so, of what type is it? Is it a TeeChart Series?
As I know you can appreciate, resolving issues in the absence of a MCVE can be tricky, to say the least.biqpaulson wrote: Is there any way to figure out what this exception means without making a simple demo for you guys?
Anyhow, the error you are experiencing is thrown at this point in the TeeChart code:
Code: Select all
if (!Data.DataSeriesSource.TryRefreshData(this))
throw new TeeChartException("Cannot bind to non-supported datasource: " + datasource.ToString());
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 93
- Joined: Thu Apr 17, 2008 12:00 am
Re: Cannot bind to non-supported datasource: Graph_
That was it! Someone in our code was doing:
ThisSeries.Datasource = "Graph_"
Thanks for the help!
ThisSeries.Datasource = "Graph_"
Thanks for the help!
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Cannot bind to non-supported datasource: Graph_
We got lucky. You're very welcome!biqpaulson wrote: Thanks for the help!
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |