We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Bar Graph Animation not working

Thread ID:





113633 Oct 3,2013 04:33 AM UTC Oct 4,2013 06:35 AM UTC JavaScript 1
Tags: ejChart
Asked On October 3, 2013 04:33 AM UTC

This is function that renders my bar graph
// set its maxH value
    var maxH = screenH * 0.052;
    scrollH = (maxH / 100 * screenHeight) + 100;
    // max allowed height is only 480
    if (scrollH > 480) { scrollH = 480; }

    showLoadingModal("Rendering bar graph for the selected graph options.");
    var barGraphContainer = $("#graph-bar-wrapper");

    // initiate the bar graph
            title: { text: toTitleCase(groupValue).toUpperCase(), font: { fontFamily: 'Oswald', size: '17px' } },
            font: { size: '12px', fontFamily: 'Open Sans' },
            majorGridLines: { visible: true, color: "rgb(89,89,89)" }
            font: { size: '12px', fontFamily: 'Open Sans' },
            title: { text: 'NO OF INTERACTIONS', font: { fontFamily: 'Oswald', size: '17px' } }
        commonSeriesOptions: {
            type: 'column',
            animation: true
        series: [{
            //points: graphQRData,
            dataSource: { data: graphQRData, xName: ["x"], yNames: ["y"] },
            name: 'QR Scans',
            style: { interior: secondaryColor },
            pointsTooltipTemplateID: 'qr-tooltip'
            //points: graphNFCData,
            dataSource: { data: graphNFCData, xName: ["x"], yNames: ["y"] },
            name: 'NFC Taps',
            style: { interior: primaryColor },
            pointsTooltipTemplateID: 'nfc-tooltip'
            //points: graphTotalData,
            dataSource: { data: graphTotalData, xName: ["x"], yNames: ["y"] },
            name: 'Total',
            style: { interior: primaryColorDark },
            pointsTooltipTemplateID: 'total-tooltip'

        showTooltip: true,
        size: { height: scrollH },
        legend: { visible: true, shape: 'circle', position: 'Right', alignment: 'Near', itemSize: { width: 8.5, height: 8.5 }, textOption: { font: { fontFamily: 'Open Sans', size: '13px' } } }

The graph renders perfectly, but for some reason the animation does
not happen
. If I replace the type from "column", to "line", the animation
works perfectly. any idea why???!!!!

Jayavigneshwaran [Syncfusion]
Replied On October 4, 2013 06:35 AM UTC


Thanks for your update. We are glad to know that your issue has been resolved. Please let us know if you have any other concerns so that we will be happy to
 help you out.




This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon