I have a ~750 LOC file that maps the subset my application uses of an older
version (3.5.x) of D3 to jsinterop.

I managed to write Java in a very javascript way with this. Chaining was
also working. If you return a Selection object everything works as
expected. Transforming the JS examples was very straightforward with
minimal changes.

I have even filed a bug report when I had hit GWT limitations...
https://github.com/gwtproject/gwt/issues/9675

I always wanted to clean it up, update it to the latest D3 and post it as
OpenSource in Github but I never found the time...

    Vassilis

On Thu, Dec 4, 2025 at 9:27 PM 'Tim Macpherson' via GWT Users <
[email protected]> wrote:

> There was one but d3 requires following the js samples.
> I am having to use typescript to make sense of my extensive D3 js code.
> I'm now thinking seems like TS is coercing  new writers of js to write
> more like Java because the old style 'duck typing' chaining methods can't
> be typed by TS
>
> (written on phone, sorry about typos)
>
> Yahoo Mail: Search, Organize, Conquer
> <https://mail.onelink.me/107872968?pid=nativeplacement&c=US_Acquisition_YMktg_315_SearchOrgConquer_EmailSignature&af_sub1=Acquisition&af_sub2=US_YMktg&af_sub3=&af_sub4=100002039&af_sub5=C01_Email_Static_&af_ios_store_cpp=0c38e4b0-a27e-40f9-a211-f4e2de32ab91&af_android_url=https://play.google.com/store/apps/details?id=com.yahoo.mobile.client.android.mail&listing=search_organize_conquer>
>
> --
> You received this message because you are subscribed to the Google Groups
> "GWT Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/google-web-toolkit/575562369.7270741.1764876458368%40mail.yahoo.com
> <https://groups.google.com/d/msgid/google-web-toolkit/575562369.7270741.1764876458368%40mail.yahoo.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Vassilis Virvilis

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEw%2BF%2Buydq_1Q48fwfXwsByZmen%3D6rzPx_Z9UPZouO56LQ%40mail.gmail.com.

Reply via email to