This folder contains all the code referenced in the SciChart.JS documentation at (https://www.scichart.com/documentation/js/current/webframe.html#SciChart_JS_User_Manual.html)
documentx contains the source the the content of the documentation. There's nothing useful to anyone outside scichart in there - browse the actual documentation instead.
The snippets themselves live in the src folder.
npm install
npm run build
npm start
nav=0 to show full screen. embed=1 to show a codepen embed. codepen=1 to redirect to codepen. builder=1 to call the builderExample function.
- Add a folder containing a demo.js file.
- Run
npm run genwhich will generate the html, css and details files. If you edit these files, they will not be overwritten. - Restart the server to pick up changes to the navigation html
- If adding a typescript example, call it demo.ts. import { whatever } from 'scichart' as normal. You must do
npm run buildfor it to work.
Add the builder api version within the demo.js. The function must be call builderExample. Add the following at the end of the file.
builderExample("scichart-root");