on 01-13-2015 10:12 AM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
double post ... don't like
Could you please migrate your text into only one question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.