TradeX Chart is a trade / stock chart written in plain (vanilla) JavaScript with mobile support
Last updated Jul 5, 2026
176
Stars
40
Forks
5
Issues
+1
Stars/day
Attention Score
79
Topics
Language breakdown
No language data available.
▸ Files
click to expand
README
README
TradeX-chart is a highly customizable stock trade chart with one dependency written in plain JavaScript; use it with any framework or backend.

Table of Contents
Demo
Live Demo
Getting Started
Requirements
TradeX-chart targets browsers that support ECMAScript 2022.
Install
NPM
npm install tradex-chart
In Browser
How to Use
Minimal working example:
<div id="myChartDiv"></div>
TypeScript
Types provided
Documentation
Documentation can be found here: Documentation
or built and run locally from the repository by running:
git clone https://github.com/tradex-app/TradeX-chart
cd ./tradex-chart/src/docs
npm run build
Editable Live Sandbox Examples
Editable sandbox examples can found on CodeSandbox.io
Framework Integration Examples
- React / NextJS
- Vue
- Svelte (TODO:)
Features
- Plain JavaScript with no framework dependencies
- All chart features and functions accessible via API
- State object defines chart configuration, indicators and tools
- State can be imported or exported for storage and retrieval
- Indicator calculation provided by talib-web as a WebAssembly module.
- Custom Themes
- Custom Indicators
- Custom Overlays
- Custom Drawing Tools (to be implemented)
- Event Hub - subscribe to chart events
- Rendering Optimization - smooth performance
- High frequency chart candles updates
- Export chart to png, jpg, webp, with optional watermarking
Support
For the latest news on TradeX-chart, feedback, feature requests, and community, join us over on Discord or GitHub.
Contributing
Testing, bug reports and feature requests welcome
If you have any bugs, issues, or feature requests, please, before making a submission, first:
To submit an issue:- Fork the chart repostitory
- Create your Feature Branch `
git checkout -b feature/AmazingFeature - Commit your Changes
git commit -m 'Add some AmazingFeature' - Push to the Branch
git push origin feature/AmazingFeature` - Open a Pull Request
if (youEnjoyed) {
starThisRepository();
}
Stargazers over time
🔗 More in this category