Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8776

Re: SAPUI5 - Live Update of a chart ?

$
0
0

Hi Andreas,

try setting only the new data to the model, and skip the setting model to lineChart

 

ie

 

  updateChart: function( ) {

     var lineChart = this.byId("myLineChart");

     var oModel = lineChart.getModel();

    ..

     var oData = oModel.getData();

     oData["modelData"] = callbackData ;

     oModel.setData(oData);

     jQuery.sap.delayedCall(5000, this, updateChart)

  }

 

hth

jsp


Viewing all articles
Browse latest Browse all 8776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>