Group: Forum Members
Last Active: 13 Years Ago
Posts: 5,
Visits: 1
|
We've been using Nevron chart for WinForms for many years, the last version was 9.7.15.12. This week we have updated it to the version 10.1.6.12 and have several issues with it.
1. In designer mode and at run-time reading the State from resources (created in old version) this.nChartControl1.State = ((Nevron.Chart.WinForm.NState)(resources.GetObject("nChartControl1.State"))); gives error: "Unable to cast object of type 'Nevron.Chart.WinForm.NState' to type 'Nevron.Chart.WinForm.NState'." The same happens trying to load the state from file in designer using "Load From File ..." button ("Unable to cast object of type Nevron.Chart.NChartDocumentState to Nevron.Chart.NChartDocumentState." ). It looks like compatibility problem between version 10 and 9. We've done a lot of development in design mode, so we don't want to loose it or doing everything again in the new version. What can you recommend?
2. We used the following piece of code to set the license:
If (Nevron.NLicenseManager.Instance.Chart.EvaluationMode) Then Nevron.NLicenseManager.Instance.LockLicense = False Nevron.NLicenseManager.Instance.SetLicense(New Nevron.NLicense("XXX")) Nevron.NLicenseManager.Instance.LockLicense = True End If
In the new version Nevron.NLicenseManager.Instance.Chart doesn't exist. What can we use instead?
Thank you,
Yuri Gaidoukevitch
|