Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Disable sap.viz BarChart animation


I followed thread Disable sap.viz Charts Tooltip/Animation but was unable to disable animation.

I need to update the chars data very frequently so animation makes the chart worthless...

I tried to "switch" animation off using:

var oPlotArea = oBarChart.getPlotArea();


You can see the example of this in this JSBin,output

Thanks in advance for your help.

Best regards,


Former Member

So, if you would transfer the XML coding from the mentioned example to JS, it will work.

    var oBarChart = new sap.viz.ui5.Bar({

        width: "800px",

        height: "400px",

        plotArea: new sap.viz.ui5.types.Bar({         

              animation: new sap.viz.ui5.types.Bar_animation({

                dataLoading: false,

                dataUpdating: false



        title: {

            visible: true,

            text: 'Total Product Sales by Unit Price'


        dataset: oDataset


JS Bin

2 View this answer in context

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question