Pre loader

[c-d]Rendering problem when license initialized in code with a trial expired dll

Welcome to the SciChart Forums!

  • Please read our Question Asking Guidelines for how to format a good question
  • Some reputation is required to post answers. Get up-voted to avoid the spam filter!
  • We welcome community answers and upvotes. Every Q&A improves SciChart for everyone

WPF Forums | JavaScript Forums | Android Forums | iOS Forums

0
0

Hello all and happy new year,

Today I had a surprise that graph was showing no lines except dots of the cursor for the series line.
I initialize with SciChartSurface.SetLicenseKey(“key here”); I have tried to create the SciChartLicence.xml and this way works.

annex is the example project. just set a correct key and you will have that behaviour.

best regards
Marcel

Attachments
  • You must to post comments
0
0

Hi Marcel,

Ok I investigated this, and to my relief, there is no problem – please call SciChartSurface.SetLicenseKey(key) before any SciChartSurface instance is shown (e.g. before InitializeComponent in MainWindow.cs). The best place to do this is in the constructor of App.xaml.cs, e.g.

    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        public App()
        {
            // Ensure SetLicenseKey is called once, before any SciChartSurface instance is created 
            SciChartSurface.SetLicenseKey(@"<LicenseContract>
              <Customer>My Company</Customer>
              <OrderId>123-456</OrderId>
              <LicenseCount>1</LicenseCount>
              <IsTrialLicense>false</IsTrialLicense>
              <SupportExpires>07/06/2013 00:00:00</SupportExpires>
              <KeyCode>ABCDEFG</KeyCode>
            </LicenseContract>");
        }
    }
  • You must to post comments
0
0
<LicenseContract>
  <Customer>[email protected]</Customer>
  <OrderId>Trial</OrderId>
  <LicenseCount>1</LicenseCount>
  <IsTrialLicense>true</IsTrialLicense>
  <SupportExpires>03/04/2018 00:00:00</SupportExpires>
  <ProductCode>SC-IOS-2D-ENTERPRISE-SRC</ProductCode>
  <KeyCode>XXXXXX</KeyCode>
</LicenseContract>
  • Andrew Burnett-Thompson
    Hello, please don’t post license keys in the public forum. I have modified your key so that it is invalid. If you are experiencing problems with licensing, please contact support [at] scichart [dot] com. Best regards, Andrew
  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.

Try SciChart Today

Start a trial and discover why we are the choice
of demanding developers worldwide

Start TrialCase Studies