Function: createChart()
createChart(
container
,options
?):IChartApi
This function is the main entry point of the Lightweight Charting Library.
Parameters
• container: string
| HTMLElement
ID of HTML element or element itself
• options?: DeepPartial
<ChartOptions
>
Any subset of options to be applied at start.
Returns
An interface to the created chart