Skip to Content
avatar image
Former Member

Viz Container - oData Problems when updating

Hello Community,

http://jsbin.com/mawupolodi/1/watch?js,output

This is my current JS Project. I am working with some Viz Container, which are consuming oData data. The data stream works fine until I start to change some measures and therefore force the Viz Container to build a new chart.

Can anybody help me with updating my charts?

Regards,

Domenik

good.PNG (68.9 kB)
error.PNG (57.6 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 13, 2015 at 10:39 AM

    double post ... don't like

    Could you please migrate your text into only one question?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Mar 05, 2015 at 07:31 AM

    Hi Fox

    In the following code you have set data as rawData which is not defined

    ut.du.onFeedsChange = function(b, d) {

      ut.du.resetFeeding(b);

      var c = new sap.viz.ui5.data.FlattenedDataset({

      dimensions: ut.du.cd.dimensions,

      measures: ut.du.cd.measures,

      data: {

      path: "/RFS"

      }

      });

      d.vizUpdate({

      data: c,

      feeds: b

      });

      var a = new sap.ui.model.json.JSONModel();

      a.setData({

    rawData: ut.du.rebuildDataset()

      });

      d.setModel(a);

      };

    Replace with your original data, which is RFS

    Regards,

    Karthy

    Add comment
    10|10000 characters needed characters exceeded