on 10-28-2015 3:32 PM
Hi Experts,
I am Fairly new to design studio and am still learning my way around the tool.
My question is how do you Data bind the Gauge Component in SAP Design studio 1.5 ?
Looking at the Properties layout; I am Unable to locate the Assign Data-source field.
Here is a screen shot of what I am looking at.
Hello Anthony,
You can use it by scripting by using script like that in your "On Startup"
GAUGE_1.setShowedValue(DS_1.getDataAsString("Your Measure", {}));
GAUGE_1.setIndicatorValue(DS_1.getData("Your Measure", {}).value);
Hope it can helps you.
Regards,
Jonas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Jonas/Anthony I was able to navigate to the script editor "On Startup" however I have run into another silly issue. I'm new to jquery or style sheets and not familiar with the syntax:
In the below code, I tried entering "Amount" which is my measure but I still get an error (I tried removing the quotes as well)
Below is my initial view:
Thanks
Mo!
This is from the Open Source SCN package, judging by the screen shot. This is an older component written by who is no longer active on SCN, best I can tell. His component doesn't seem to be data bound, however Karol or I can add the new bindable property to the 'Showed Value' property so that you can make it data bound, if this would help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nicolas,
Thanks you are absolutely right. I mistakenly dredged up your initial post:
Antonio AND you deserve credit, and Karol ported it over to our community package here:
However as it stands I believe you and Antonio it is safe to say haven't had the time to revisit this in a while so Karol or I can make some of these properties data bound all the same.
Thanks for reminding me about Antonio!
Whose gauge component are you using? I don't think the base Design Studio 1.5 has a standard gauge component
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.