SciChart® the market leader in Fast WPF Charts, WPF 3D Charts, and now iOS Charting & Android Chart Components

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>shuichi.0618.s@gmail.com</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
    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.