dataSource

This option is used for data binding. The charts can bind an array or a wijdataView object. The related options are the bind option within the control's data option and the bind option within the seriesList option.

Type: Array

Code Example:

var linechart = document.getElementById("wijlinechartDefault").winControl;

       WinJS.UI.setOptions(linechart, {

                           dataSource: dv

                     });


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.