Skip to main content
Version: 8.3.2

Mobile applications

LightningChart JS is a JavaScript library so it doesn't directly integrate to any Mobile application development framework. There are, however, a number of different ways it can be used in a Mobile application.

Web application used via Mobile web browser

In this case, there's nothing fancy to do. You simply create a normal web application, use LightningChart JS completely normally, and then use the application via a Mobile devices web browser. To achieve mobile layouts of web content, refer to standard CSS practices for mobile users.

Web application wrapped in a native WebView component

Another way to realize mobile applications is to start similarly as above, creating a normal web application. However, instead of hosting it, the application is placed within a native Mobile application framework (e.g. Android studio, Xcode, React Native). Almost all frameworks tend to have a component like "WebView" or "iframe", which allows displaying web sites or web applications inside the Mobile app.

Web-native mobile frameworks

Some mobile app frameworks straight up support JavaScript runtimes and browser libraries, like LCJS. To our knowledge, the only framework like this is currently Capacitor In this case, there is nothing special to do from LCJS usage point of view.

Examples and extended reading