Skip to content

Commit 75f9875

Browse files
committed
feat(*): remove beta key
- remove beta key from documentation, examples, tutorials and sandbox - update scichart version
1 parent c54eb0b commit 75f9875

21 files changed

Lines changed: 160 additions & 65 deletions

File tree

‎Examples/src/components/App.tsx‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ export default function App() {
5757
const toggleOpenedMenuItem = (id: string) => setOpenedMenuItem(id, !openedMenuItems[id]);
5858
const toggleDrawer = () => setIsDrawerOpened(!isDrawerOpened);
5959

60-
// LICENSING
61-
// To license the examples app locally for beta, uncomment the line below
62-
// SciChartSurface.setRuntimeLicenseKey("WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc=");
63-
6460
// For deployment to demo.scichart.com we are getting the license from the server where it is set by enviroment variable.
6561
// When you npm run dev, the beta trial key is served by the webpack dev server (webpack.client.no_server.config)
6662
SciChartSurface.setFetchLicenseCallback(() =>

‎Examples/webpack.client.no_server.config.js‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,21 @@ const webpackClientConfig = require("./webpack.client.config.js");
33
const CopyPlugin = require("copy-webpack-plugin");
44
const webpack = require("webpack");
55

6-
const betaTrialKey = "WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc=";
6+
// LICENSING //
7+
// Set your license code here to license the SciChart.js Examples app
8+
// You can get a trial license key from https://www.scichart.com/licensing-scichart-js/
9+
// Purchased license keys can be viewed at https://www.scichart.com/profile
10+
//
11+
// e.g.
12+
//
13+
// const betaTrialKey = "YOUR_RUNTIME_KEY";
14+
//
15+
// Also, once activated (trial or paid license) having the licensing wizard open on your machine
16+
// will mean any or all applications you run locally will be fully licensed.
17+
18+
// Set your runtime key here
19+
const betaTrialKey = "";
20+
721
module.exports = merge(webpackClientConfig, {
822
mode: "development",
923
devtool: "inline-source-map",
@@ -31,5 +45,5 @@ module.exports = merge(webpackClientConfig, {
3145
res.send(betaTrialKey);
3246
});
3347
}
34-
}
48+
}
3549
});

‎README-BetaTesters.md‎

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,25 @@ Found an issue or want to make a suggestion? We're inviting feedback via our [Su
1515

1616
### Running the SciChart.Js.Examples locally
1717

18-
1. Start by cloning and running the Examples app at https://github.com/ABTSoftware/SciChart.JS.Examples
19-
2. Now ```cd Examples``` run ```npm install```, and ```npm run dev``` to start the examples app.
18+
1. Get a trial license key from https://www.scichart.com/licensing-scichart-js/ and install **licensing wizard**. Purchased license keys can be viewed at https://www.scichart.com/profile
19+
2. Clone the Examples app at https://github.com/ABTSoftware/SciChart.JS.Examples
20+
3. Having the **licensing wizard** running ```cd Examples``` run ```npm install```, and ```npm run dev``` to start the Examples app.
2021

21-
3. To run in production mode you will need to set a license key before you use SciChartSurface. The license key should be set once!
22+
4. To run in production mode you will need to set a license key before you use SciChartSurface. The license key should be set once!
23+
* for the Examples app set license key here `Examples/webpack.client.no_server.config.js`
24+
* for any of tutorials set it in `src/index.js`
2225
```
23-
// LICENSING
24-
// To license the examples app locally for beta, uncomment the line below
25-
SciChartSurface.setRuntimeLicenseKey("WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc=");
26+
// Set your license code here
27+
// You can get a trial license key from https://www.scichart.com/licensing-scichart-js/
28+
// Purchased license keys can be viewed at https://www.scichart.com/profile
29+
//
30+
// e.g.
31+
//
32+
// SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_KEY");
33+
//
34+
// Also, once activated (trial or paid license) having the licensing wizard open on your machine
35+
// will mean any or all applications you run locally will be fully licensed.
2636
```
27-
> Note: This BETA license key expires in 30 days - or 14th November 2020
2837

2938
### Creating your own SciChart.js App
3039

@@ -41,11 +50,11 @@ To run a tutorial:
4150

4251
_Further tutorials are in development_
4352

44-
The beta license key is already set in the tutorials. If you are developing your own app you need to set this license key once in your app before calling SciChartSurface.create
53+
If you are developing your own app you need to set this license key once in your app before calling SciChartSurface.create
4554
```
4655
import {SciChartSurface} from "scichart/charting/Visuals/SciChartSurface";
4756
48-
SciChartSurface.setRuntimeLicenseKey("WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc=");
57+
SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_KEY");
4958
```
5059
### Exploring our API
5160

‎README.md‎

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,26 @@ We've taken the time to create hundreds of documentation pages for our JavaScrip
5454

5555
### Licensing the application
5656

57-
At the moment SciChart.js is in BETA, and a temporary license key can be found in [Readme-BetaTesters.md](https://github.com/ABTSoftware/SciChart.JS.Examples/blob/master/README-BetaTesters.md)
57+
1. Get a trial license key from https://www.scichart.com/licensing-scichart-js/ and install **licensing wizard**.
58+
2. Purchased license keys can be viewed at https://www.scichart.com/profile
59+
60+
**Licensing a domain for production**
61+
62+
In order to deploy an app to some domain
63+
* Set the domain for you license on the website https://www.scichart.com/
64+
* Copy runtime key from the **licensing wizard**
65+
* Set the runtime key in your app before calling SciChartSurface.create. The runtime key should be set once!
66+
```
67+
import {SciChartSurface} from "scichart/charting/Visuals/SciChartSurface";
68+
69+
SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_KEY");
70+
```
5871

5972
### Run application in dev mode
6073

61-
To start the application locally you will need to npm-install and npm run dev. This will run a development server locally and you should be able to view the examples in browser at http://localhost:8080
74+
To start the application locally you will need to `npm install` and `npm run dev` and also to have the licensing wizard running. This will run a development server locally and you should be able to view the examples in browser at http://localhost:8080
75+
76+
> Note: Make sure the licensing wizard is running!
6277
6378
> `cd Examples`
6479
> `npm install`

‎Sandbox/CustomerExamples/RangeSelectionWithCustomModifier/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "",
1212
"license": "MIT",
1313
"dependencies": {
14-
"scichart": "^1.0.0",
14+
"scichart": "^1.0.1262",
1515
"typescript": "^4.0.5"
1616
},
1717
"devDependencies": {

‎Sandbox/CustomerExamples/RangeSelectionWithCustomModifier/src/index.js‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,17 @@ import {FastLineRenderableSeries} from "scichart/Charting/Visuals/RenderableSeri
55
import {RangeSelectionChartModifier} from "./RangeSelectionChartModifier";
66

77
async function initSciChart() {
8-
// Below find a trial / BETA key for SciChart.js.
9-
// This Expires in 30 days - or 14th November 2020
10-
// Set this license key once in your app before calling SciChartSurface.create, e.g.
11-
SciChartSurface.setRuntimeLicenseKey("WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc=");
8+
// LICENSING //
9+
// Set your license code here
10+
// You can get a trial license key from https://www.scichart.com/licensing-scichart-js/
11+
// Purchased license keys can be viewed at https://www.scichart.com/profile
12+
//
13+
// e.g.
14+
//
15+
// SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_KEY");
16+
//
17+
// Also, once activated (trial or paid license) having the licensing wizard open on your machine
18+
// will mean any or all applications you run locally will be fully licensed.
1219

1320
// Create the SciChartSurface in the div 'scichart-root'
1421
// The SciChartSurface, and webassembly context 'wasmContext' are paired. This wasmContext

‎Sandbox/react-scichart-demo/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"dependencies": {
2424
"react": "^17.0.1",
2525
"react-dom": "^17.0.1",
26-
"scichart": "1.0.1246"
26+
"scichart": "^1.0.1262"
2727
}
2828
}

‎Sandbox/react-scichart-demo/src/App.js‎

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,17 @@ import { SciChartSurface } from "scichart/Charting/Visuals/SciChartSurface";
33
import { NumericAxis } from "scichart/Charting/Visuals/Axis/NumericAxis";
44

55
async function initSciChart() {
6-
// Below find a trial / BETA key for SciChart.js.
7-
// This Expires in 30 days - or 14th November 2020
8-
// Set this license key once in your app before calling SciChartSurface.create, e.g.
9-
SciChartSurface.setRuntimeLicenseKey(
10-
"WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc="
11-
);
6+
// LICENSING //
7+
// Set your license code here
8+
// You can get a trial license key from https://www.scichart.com/licensing-scichart-js/
9+
// Purchased license keys can be viewed at https://www.scichart.com/profile
10+
//
11+
// e.g.
12+
//
13+
// SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_KEY");
14+
//
15+
// Also, once activated (trial or paid license) having the licensing wizard open on your machine
16+
// will mean any or all applications you run locally will be fully licensed.
1217

1318
// Create the SciChartSurface in the div 'scichart-root'
1419
// The SciChartSurface, and webassembly context 'wasmContext' are paired. This wasmContext

‎Tutorials/2D_Chart_Tutorials_JavaScript/Tutorial_1_Setting_up_a_project_with_SciChart/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "",
1212
"license": "MIT",
1313
"dependencies": {
14-
"scichart": "^1.0.1248"
14+
"scichart": "^1.0.1262"
1515
},
1616
"devDependencies": {
1717
"copy-webpack-plugin": "^6.0.3",

‎Tutorials/2D_Chart_Tutorials_JavaScript/Tutorial_1_Setting_up_a_project_with_SciChart/src/index.js‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ import {SciChartSurface} from "scichart/Charting/Visuals/SciChartSurface";
22
import {NumericAxis} from "scichart/Charting/Visuals/Axis/NumericAxis";
33

44
async function initSciChart() {
5-
// Below find a trial / BETA key for SciChart.js.
6-
// This Expires in 30 days - or 14th November 2020
7-
// Set this license key once in your app before calling SciChartSurface.create, e.g.
8-
SciChartSurface.setRuntimeLicenseKey("WcnXtRLwGVtfNA59XwvDQA11wSpykEA1NEpARELTB+Aq6kf2nJSK9GgWOKvCJA6P+jNg2xcVLw3oM7EdIIi0MJtvorAARa9au01LV/xLJ1jdOeDeMXpw/eT5ajSpukKcJXHe97tzsBzfB6wRziW6LgNjuB3ykFIk+tGvOmJyhRewYjF+FCSb/0q8Bq8em4lNmOfONzJz5spVWvvfHdn5iIYfvv00hhduow4bFzxXnRucLtHl2Bm1yFvrVYe0UOQcFpJ9DZ4S96GLhSw9SIkUSAy/C5r3FvdCkX8d40ehAg+n78w92QXwh4B41xF0f+9OHpeV3byaZDNr5L1afdS3qCahoyeYEnmt4hYdmGH3uS+KtC29bAcVXUqNA9P3pESndALjlEimVNfr6RrfKEY3jroWtPXEx2Oo9XcD3ZLUJiRrjDL0lTf/3a6+KN1xsl2K2eymqyo9Wggy7Mf3WymmvURil7SaxE3xBP5LWWGPMEXvf9m7vXGz6fkEtsZhdEC3HQprBwEGyV1zPdLxDqtWO9ltEBEBlS2FrzJ3984/zSp9sbc=");
5+
// LICENSING //
6+
// Set your license code here
7+
// You can get a trial license key from https://www.scichart.com/licensing-scichart-js/
8+
// Purchased license keys can be viewed at https://www.scichart.com/profile
9+
//
10+
// e.g.
11+
//
12+
// SciChartSurface.setRuntimeLicenseKey("YOUR_RUNTIME_KEY");
13+
//
14+
// Also, once activated (trial or paid license) having the licensing wizard open on your machine
15+
// will mean any or all applications you run locally will be fully licensed.
916

1017
// Create the SciChartSurface in the div 'scichart-root'
1118
// The SciChartSurface, and webassembly context 'wasmContext' are paired. This wasmContext

0 commit comments

Comments
 (0)