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.
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.
When a TradeX element is added to the DOM, automatically
start()
it with the default config. When the user / dev executesstart(config)
, execute a config merge instead.