on 03-07-2014 9:09 AM
Hello Colleagues,
we are developing an application which contains a number of charts. Our data is retrieved via an OData service and currently our initial screen is as per the attached image writeOffChart1.
The code used to produce the chart looks like this:
//Data from OData Service for Chart display | |||||
var oModel2 = new sap.ui.model.json.JSONModel(); | |||||
var url2 = "/sap/opu/odata/sap/Z_WRITEOFF_001_SRV/wo_itemSet"; | |||||
oModel2.loadData(url2,"",false); | |||||
var dataset2 = new sap.viz.ui5.data.FlattenedDataset({ |
dimensions : [ {
axis : 1,
name : 'Abdat',
value : "{Abdat}"
} ],
measures : [ {
name : 'SumAmount',
value : '{SumAmount}',
}],
data : {
path : "/d/results"
}
});
var chart = this.getView().byId('writeOffChart'); | ||
chart.setDataset(dataset2); | ||
chart.setModel(oModel2); | ||
The requirement is to produce a screen as shown in the second attachment writeOffChart2.
Our questions are:
We've looked thorough many examples and searched scn and read lots of documentation but we haven't found a particular example that is similar to ours.
I should also add that SAPUI5 and Fiori are relatively new topics for us, but any assistance would be gratefully received.
Kind regards,
Keith Sanderson
Hi,
I am also facing the same kind of problem.
I want some other colors or some alert/ blink in my one data line if exceeding value of another data line..
Can anyone plzz help me out?
Thanks & regards
Snigdha Surabhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.