Hi,
I'm wanting to databind a stacked igDataChart to a knockout model
I used this sample as a starting point
http://www.igniteui.com/data-chart/edit-chart-items-with-knockout
and changed the series type to be "stackedLine" with 2 stackedFragments
see the jsFiddle here : http://jsfiddle.net/8oxj4Lj5/
I was expecting it all to just work, but in firefox, I'm getting the messasge
TypeError: series.expectFunctions is not a function infragistics.dv.js:238:19379
in my console window.
I had a look at this
http://jsfiddle.net/gh/get/jquery/1.9.1/igniteuisamples/jsfiddle-samples/tree/master/EN/HtmlSamples/data-chart/stacked-series/
to check the series are being definedcorrectly.
Should I be able to bind with knockout to a stacked chart?
Many Thanks
Paul
Hello Paul,
Does your sample run in Chrome, or it just breaks only in Firefox (on my side it throws the same exception in all browsers)? Anyway, I am currently working onto this issue and will update you with my findings.
Same error in IE,
Chrome gave me this error
infragistics.dv.js:238 Uncaught TypeError: undefined is not a function
Let me know if you need me to do anything else
Thank you for clarification. I am getting the same error in Chrome, so I am sure we're on the same track. I believe issue is not because of Knockout as I am facing the same behavior in another sample. I am continuing to investigate this and will update you with my findings.
I am just following up to see if you had the time to download the latest serviced release from our website and if it fixed your issue. If the behavior is not fixed or you face any other issues please let me know.
My further investigation seems to confirm this may be a wrong behavior. this is why I have logged it in our internal tracking system with a Development ID of 192725. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will leave this case open and update you with any new information after the review. You can also continue to send updates to this case at any time.
You can view the status of the development issue connected to this case by selecting the "Development Issues" tab when viewing this case on the web site.
Please let me know if you have any further questions on this.
After further investigation it turned out that my assumption is wrong. It seems like trying to bind a stackedLine chart utilizing Knockout just does not work, as your exact issue is. I am taking this issue to consider with other engineers in our teams and try to figure it out.
I will keep you posted with our findings, thank you for your patience and understanding !