Wijmo UI for the Web
seriesTransition Option
wijmo.chart.wijchartcore Namespace > options type : seriesTransition Option

Type: wijmo.chart.chart_animation

Creates the animation object to use when the seriesList data changes.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  wijmo.chart.chart_animation
    returnsValue = $(".selector").wijchartcore("option", "seriesTransition");
    
    // Set value
    var newValue; // Type:  wijmo.chart.chart_animation
    $(".selector").wijchartcore("option", "seriesTransition", newValue);
        
});
var seriesTransition : chart_animation;
Example
// This code creates a chart with random data that regenerates when you click the button created in the
second code snippet below
 $(document).ready(function () {
$("#wijbarchart").wijbarchart({
seriesList: [createRandomSeriesList("2013")],
seriesTransition: {
    duration: 800,
    easing: "easeOutBounce"
}
});
} );
function reload() {
    $("#wijbarchart").wijbarchart("option", "seriesList", [createRandomSeriesList("2013")]);
}
function createRandomSeriesList(label) {
    var data = [],
        randomDataValuesCount = 12,
        labels = ["January", "February", "March", "April", "May", "June",
            "July", "August", "September", "October", "November", "December"],
        idx;
    for (idx = 0; idx < randomDataValuesCount; idx++) {
        data.push(Math.round(Math.random() * 100));
    }
    return {
        label: label,
        legendEntry: false,
        data: { x: labels, y: data }
    };
}
Remarks
This allows you to visually show changes in data for the same series. Note: This animation does not appear when you first load or reload the page--it only occurs when data changes.
See Also

Reference

options type
wijchartcore jQuery Widget