Thanks for your reply
This is exactly what I'm looking for. It still have some issues :
I want to do it like this:
I have my oDataModel which bind to /OData.svc/
var oDataModel;
// I use this model to create an entity:
oDataModel.create('/entries', entity,{
success: function(entry){
oVizFrame.bindElement("/entities(guid'" +entry.Id + "')");
}
})
the oVizFrame use the dataset :
var oDataset = new FlattenedDataset(
{
dimensions:
[
{ name: "Time", value: "{Time}", dataType : 'date' } ],
measures: [ { name : "Value", value : "{Value}" } ],
data: { path: "/Points" }
}
);
however, to get my timeseries data, sapui5 use the url
/Points
instead of
/Entities('id')/Points
Please help me if you know how to write it correctly
Thanks a lot.
Yan