// Example 1, create chart without specifying DOM container. LCJS will automatically append a <div> in the document. // Recommended for testing, mainly. constchart = LightningChart.ChartXY({})
// Example 2, create chart inside DOM element managed by user. The element must be added to the document, before creating the chart. constchart = LightningChart.ChartXY({ // Argument can be either *element id* or actual reference to the HTML element. container:'my-chart-div' })
Interface that can be used to configure rendering Engine of LCJS charts and dashboards.
Commonly used properties:
Example usage: