on 11-21-2017 9:00 PM
Hi all
I am struggling to produce a stacked_column (or stacked_bar for that matter)chart using UI5 vizFrame, which displays 3 values and also showing a target line on the same bar/column.
What I can do is successfully create a stacked_column with the 3 values:
https://jsfiddle.net/wdfm31m1/4/
and also a bullet chart which displays from what I can tell no more than 2 values and a target:
https://jsfiddle.net/wdfm31m1/1/
I feel like I must be missing something obvious. Can anyone tell me how I should go about achieving this please?
Many thanks
Phil
Hey,
I think this will cover your demands. See the "2 Series" and "Primary + Additional" options.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the quick response.
I had previously seen this, however I still cannot see how to add the third measure to the column.
I have added a third measure to the example here
https://jsfiddle.net/vb1mzmb2/1/
by adding to the data a value of "Due Very Soon" and then added this to the array of measures:
measures: [
{name: 'Due Now', value: '{Due Now}'},
{name: 'Due Soon', value: '{Due Soon}'},
{name: 'Due Very Soon', value: '{Due Very Soon}'},
{name: 'Target', value: '{Target}'}
],
and, also added this to the feed:
sap.viz.ui5.controls.common.feeds.FeedItem({
'uid' : "valueAxis",
'type' : "Measure",
'values' : ["Due Now", "Due Soon", "Due Very Soon"]
}),
...however, the third value does not appear, only the original 2! As with the example you have linked they still only show two measures per bar/column whereas I need three for my scenario. Am I missing something?
What I need to end up with is something like this crude photoshop:
Thanks again
Phil
User | Count |
---|---|
92 | |
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.