I’m a C# developer looking to evaluate working with SciChartJS for a possible future project.
I’ve not used npm to install SciChart into the project, rather I’m using the CDN approach in my _Host.cshtml file.
<script src="https://cdn.jsdelivr.net/npm/[email protected]/index.min.js" crossorigin="anonymous"></script>
I’ve been searching online for a SciChartJS TypeScript definition file so that I can leverage TS Strongly Typed system in my test project.
Is there one? Or do I need to build my own, or even is there an already made example of extending SciChart with TypeScript somewhere I’ve missed?
We publish Typings with the npm package, and also they are distributed with the browser bundle script on JSDelivr. Here’s a direct link to the typings:
However, I personally have no experience using TypeScript outside of an npm environment, I wasn’t aware you can even include it in pure JS applications.
Does that help? If you need something else let me know
Finally, if you’re not aware, there is an OSS Blazor implementation which uses our JSON/Builder API to create charts. Take a look here to see how they’ve done it. https://github.com/NRTDP/SciChartBlazor
Please login first to submit.