Hello everybody:
As we know we can build qt quick project (used d3.js and qml) in qt But how can I Convert it to EWO?
Who can give me some demo?
Thanks a lot
Eric
How to create a D3.js EWO
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to create a D3.js EWO
The information how to create an EWO which can be used in WinCC OA you find in the WinCC OA Documentation: Graphics Editor (GEDI) --> Complex graphics objects --> EWO (External Widget Object).
Best Regards
Leopold Knipp
Senior Support Specialist
Best Regards
Leopold Knipp
Senior Support Specialist
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: How to create a D3.js EWO
Hi Eric,
Why using an EWO for this? With 3,16 you can also use JS webview to directly link d3 to WinCC OA data using plain javascript / html page and ctrl.
BR
Alex
Why using an EWO for this? With 3,16 you can also use JS webview to directly link d3 to WinCC OA data using plain javascript / html page and ctrl.
BR
Alex
- jiaofueric
- Posts:18
- Joined: Wed Oct 31, 2018 7:40 am
Re: How to create a D3.js EWO
Thank you Alex ,
The interface of WebView is not very friendly. I want to interact directly with the underlying data.
The interface of WebView is not very friendly. I want to interact directly with the underlying data.
- jiaofueric
- Posts:18
- Joined: Wed Oct 31, 2018 7:40 am
Re: How to create a D3.js EWO
So Easy?
There are too few documents.
There are too few documents.
- adaneau
- Posts:310
- Joined: Tue Feb 21, 2012 9:49 am
Re: How to create a D3.js EWO
So far inside help:
WebView EWO JavaScript Interface Examples (qthelp://wincc_oa/doc/Native_GEDI/ewo_webview_js_examples.htm )
This is with plotly.js, but as far as I know d3 this is not really different
If you really want to go to ewo direction, just run the API ewo example in QT creater and have a look into code. If you know QT this is pretty straightforward.
BR
Alex
WebView EWO JavaScript Interface Examples (qthelp://wincc_oa/doc/Native_GEDI/ewo_webview_js_examples.htm )
This is with plotly.js, but as far as I know d3 this is not really different
If you really want to go to ewo direction, just run the API ewo example in QT creater and have a look into code. If you know QT this is pretty straightforward.
BR
Alex
- jiaofueric
- Posts:18
- Joined: Wed Oct 31, 2018 7:40 am
Re: How to create a D3.js EWO
Thanks,Alex
After a night's hard work, I think I found the way
I will upload examples soon.
BR
After a night's hard work, I think I found the way
I will upload examples soon.
BR
- jiaofueric
- Posts:18
- Joined: Wed Oct 31, 2018 7:40 am
Re: How to create a D3.js EWO
It's failed ,Maybe wincc oa not support Qt QuickWidgets ...