You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IComponentDataFields and all its subclasses seemse to be custom Java classes to be exported to Javascript, therefore should have no parameters in JsType annotation.
#2
Open
yechenqiao opened this issue
May 31, 2019
· 0 comments
Please take this with a grain of salt as I'm on a newer code base Amcharts 4.4.x, while this code base is currently on 4.0.x.
I've noticed the classes extending IComponentDataFields has the wrong class annotations. These causes these classes to not be able to be used in Java at all via constructor.
Instead of @jstype(isNative = true, ...) the annotation should have just been @jstype because the class is not defined in Javascript and we are exporting the class from Java.
The text was updated successfully, but these errors were encountered:
Please take this with a grain of salt as I'm on a newer code base Amcharts 4.4.x, while this code base is currently on 4.0.x.
I've noticed the classes extending IComponentDataFields has the wrong class annotations. These causes these classes to not be able to be used in Java at all via constructor.
Instead of @jstype(isNative = true, ...) the annotation should have just been @jstype because the class is not defined in Javascript and we are exporting the class from Java.
The text was updated successfully, but these errors were encountered: