Wijmo UI for the Web
data Option
wijmo.sparkline.wijsparkline Namespace > options type : data Option

Default value: null

Sets the array to use as a source for data that you can bind to the sparkline widget.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  object
    returnsValue = $(".selector").wijsparkline("option", "data");
    
    // Set value
    var newValue; // Type:  object
    $(".selector").wijsparkline("option", "data", newValue);
        
});
var data : object;
Remarks
The array can be a simple number array. The array can be a complex object array also. If it is an object array, use the seriesList object's bind option to specify the data field to use.
See Also

Reference

options type
wijsparkline jQuery Widget