GOJS watermark appears even after giving license key



GOJS watermark appears even after mentioning license key in Angular 4 Constructor / ngoninit.

(go as any).licenseKey = “…”;



What is the URL from which your page was delivered?


From http://localhost:4200


Angular 4… I’m giving license key in the same component before loading the diagram and after importing the gojs…

Giving license key under constructor/ngoninit.


And precisely which version of the go.js library are you using? Does it match the version that you specified when you got the license key?


Yes we are using “gojs”: “^1.8.34”, And the license also says that this license key for version 1.8.34 will work for all versions 1.8.*.