tradex-app / TradeX-chart

TradeX Chart is a trade / stock chart written in plain (vanilla) JavaScript with mobile support
https://tradex-app.github.io/TradeX-chart/
GNU General Public License v3.0
107 stars 18 forks source link

Start TradeX Element with Default Config #62

Closed tradex-app closed 8 months ago

tradex-app commented 11 months ago

When a TradeX element is added to the DOM, automatically start() it with the default config. When the user / dev executes start(config), execute a config merge instead.

tradex-app commented 8 months ago

in progress...

tradex-app commented 8 months ago

Now when the initial chart element is added to the DOM, it will be immediately active with an empty chart. You will still call myChart.start(config) to load your own config.