Is there any method to put input box to take parameters in the lightning chart?

Viewed 23
1 Answers

LightningChart JS does not provide features for this kind of purposes.

I would suggest looking into HTML/CSS/JS input boxes, or to use a UI framework such as React, Vue, Angular, etc.

https://www.w3schools.com/tags/tag_input.asp

https://reactjs.org/

In either case, the product is HTML elements that you can use for just about any UI purpose out there, not just to take start and end values from an user. These HTML elements can be aligned to the LightningChart components, for example positioning them below an Axis, etc. You can do this by "absolute positioning" the HTML elements above the chart.

Some examples can be found online on this https://lightningchart.com/lightningchart-js-interactive-examples/search.html?t=html

Related