Interface that can be used to configure rendering Engine of LCJS charts and dashboards.

Commonly used properties:

  • container: Specify DOM container for chart.

Example usage:

 // Example 1, create chart without specifying DOM container. LCJS will automatically append a <div> in the document.
// Recommended for testing, mainly.
const chart = LightningChart.ChartXY({})
 // Example 2, create chart inside DOM element managed by user. The element must be added to the document, before creating the chart.
const chart = LightningChart.ChartXY({
// Argument can be either *element id* or actual reference to the HTML element.
container: 'my-chart-div'
})