on 03-07-2017 6:48 AM
Hi Experts,
Below is the image of my stacked bar.
Here, I am trying to show the time scale in x-axis of stacked_bar chart and I have no idea how to show time scale.I tried few things like passing datatype as date,but nothing is happening.
var oPerformanceStripDataset = new sap.viz.ui5.data.FlattenedDataset({
dimensions: [{
axis: 1,
name: "ChartType",
value: "{ChartType}"
},
{
axis : 2,
name : 'StoppageType',
value : "{StoppageType}"
}],
measures: [{
name: "Date",
value: "{Date}",
dataType: 'date'
}],
data: {
path: "/Rowset/Row"
}
});
I want to show like below image.
Thanks,
Sony
Set chart type as stacked bar chart
I guess you are trying to measure Planned, Unplanned and Runtime which are coming from 'StoppageType', if so set measure as 'StoppageType' and dimension as 'Date'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.