Hello everyone,
I've tried to add a custom binding to a scatterLine chart, but chrome just throws an exception:
"Uncaught Error: The chartSeries binding is not supported by the Chart widget"
Is it possible to do something similar to the following?
<div id="mychart" data-bind="chartSeries: Series"></div>
kendo.data.binders.chartSeries = kendo.data.Binder.extend({ refresh: function() { var serieses = this.bindings["chartSeries"].get(); //my irrevevant stuff $(this.element).redraw(); }}); function GetAllPageElements () { var PrintChart = function () { $("#mychart").kendoChart({ //my irrevevant stuff }); }; PrintChart();} $(document).ready(function () { var ChartViewModel = new ViewModels.ChartVm(); GetAllPageElements(); kendo.bind($("#chartView"), ChartViewModel);});Thanks for your help!
Joachim