on 08-23-2017 5:49 PM
Issue: The moveDimensionToRows does not replace the existing dimension in the 0 position.
If start with Region as the dimension on the initial view, Region is in the 0 position.
And the chart works find. See X-axis only below
Next Step: change to view Sales Channels. Region should be replaced by Sales Channel as per the code above. The Sales Channel takes over the 0 position but the Region is pushed to 1.
And as would be expected the chart has both dimensions
This worked on Design Studio 1.6 SP4. When we moved to Lumira the issue appeared.
The documentation states
Hi James,
As per the documentation you've highlighted, existing dimensions are only replaced if you specify the optional position parameter. Based on your code, it seems you are not using the position parameter so the behaviour is as expected.
The swapDimensions() method may be more appropriate for your requirement.
Regards,
Mustafa.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
I had the same question https://answers.sap.com/questions/354037/lumira-designer-20-sp02-patch-1-ds-1movedimensiont.html?chi...
and there is a bug -
2601643 - Script APIs moveDimensionToRows and moveDimensionToColumns behaves incorrectly in Lumira 2.x opposed to Design Studio 1.x
Br
René
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 | |
6 | |
6 | |
6 | |
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.