Html Chart

Set the animationDuration property of the jqxChart. Author: http://jqwidgets.com

by jqwidgets

HTML

<script src="http://jqwidgets.com/public/jqwidgets/jqx-all.js"></script>
<link rel="stylesheet" href="http://jqwidgets.com/public/jqwidgets/styles/jqx.base.css">
<div id='jqxChart' style="width:600px; height:500px; position: relative; left: 0px; top: 0px;"></div>

JavaScript

var source = {
        datatype: "array",
        datafields: [{
            name: 'Browser'
        }, {
            name: 'Share'
        }],
        localdata: [{
            Browser: "Internet Explorer",
            Share: 33.3
        }, {
            Browser: "Firefox",
            Share: 26.5
        }, {
            Browser: "Chrome",
            Share: 25.4
        }, {
            Browser: "Safari",
            Share: 7
        }, {
            Browser: "Opera",
            Share: 4.5
        }, {
            Browser: "Other",
            Share: 3.2
        }]
    };
    var dataAdapter = new $.jqx.dataAdapter(source, {
        async: false,
        autoBind: true,
        loadError: function (xhr, status, error) {
            alert('Error loading "' + source.url + '" : ' + error);
        }
    });

    var settings = {
        title: "Desktop browsers share",
        description: "(source: wikipedia.org)",
        enableAnimations: true,
        showLegend: true,
        showBorderLine: true,
        legendPosition: {
            left: 520,
            top: 140,
            width: 100,
            height: 100
        },
        padding: {
            left: 5,
            top: 5,
            right: 5,
            bottom: 5
        },
        titlePadding: {
            left: 0,
            top: 0,
            right: 0,
            bottom: 10
        },
        source: dataAdapter,
        colorScheme: 'scheme02',
        seriesGroups: [{
            type: 'pie',
            showLabels: true,
            series: [{
                dataField: 'Share',
                displayText: 'Browser',
                labelRadius: 120,
                initialAngle: 15,
                radius: 170,
                centerOffset: 0,
                legendFormatFunction: function (value, index) {
                    return value + "<br>" + settings.source.records[index].Share;
                },
                formatSettings: {
                    sufix: '%',
         ...