data.x.bind

Defines field name used from dataSource instead of explicitly defining data as an array in the x option. This will be shared for all series in the seriesList unless overridden.

Type: string

Code Example:

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

       WinJS.UI.setOptions(linechart, {

                           x:{ bind: "fieldA"}

                     });


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