When using LightningGraph in Windows Applications, it works. When using it in a class library with WinForm, it works. When using it in a class library with WPF, I am seeing all black with a red message "No valid license available".
This is even though I am correctly calling LightningChart.SetDeploymentKey before using the graphs, and all graphs shown outside of the class library (directly in the main application) work fine. Any clue?
Getting "No valid license available" with class library and WPF
Moderator: Queue Moderators
-
- Posts: 1
- Joined: Fri Mar 03, 2023 10:02 am
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Getting "No valid license available" with class library and WPF
This particular message may be shown, if LightningChart skipped license check for some reason. For example, it may happen if Chart is never attached to a loaded element tree and chart is not in Headless Mode.
-
- Posts: 1
- Joined: Sat May 13, 2023 8:09 am
Re: Getting "No valid license available" with class library and WPF
Hello ArcctionKestutis
Thank you for sharing this , but if it is the case that LightningChart skips the license check for unknown reasons , what is the best solution ?
Thank you for sharing this , but if it is the case that LightningChart skips the license check for unknown reasons , what is the best solution ?
-
- Posts: 557
- Joined: Mon Mar 14, 2016 9:22 am
Re: Getting "No valid license available" with class library and WPF
The best solution - contact Support by email and share your case.