Skip to content

thoughtspot/ts-chart-examples

Repository files navigation

TS Chart Examples

Code to run

npm i
npm run dev

List of urls

will be available here Generate Urls

Versioning of charts based on TS

We have introduced new folders for separate versions the folder structure apart from v1, which will contain the current charts code.

  • If a minimum version required to run the chart is 10.5 the path to chart code is src/v10_5/<customcharttype-folder>
  • We would need to update sourceFolders array in vite.config.ts for deployment.
  • The generated urls will look like http://localhost:3002/v10_5/custom-bar-chart-10_5/ for TS version 10.5 where custom-bar-chart is the folder where custom bar chart code is present.

Note: Notice that we did not repeat the name of custom-bar-chart folder as it can cause conflicts while build how we have defined the current vite config so it is advised to use different folder names like the one we have used above.

About

Custom Chart examples also being used in internal testing envs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published