Graph representation with websocket

how should i represent graph using websocket with this values
“ltpc”: {
“ltp”: 57.95,
“ltt”: “1698400799168”,
“ltq”: “250”,
“cp”: 45.95
}

what should be the max value for y axis and x axis

@Abhilash7

Are you using any library for the charts?

I think you should use the free library from TV. best charts, automatic display and no need to pay. @Abhilash7

TV mean? is it available for flutter?

@MohitGolecha in flutter iam using fl_charts package because we dont have any in-built library and can i know which backend/server will be best if i want to make trading like app(write values every seconds til market close) and what all needs to be taken care.

I recommend using the language you are most comfortable and familiar with. You can use the web view to open either the TradingView or ChartIQ library.

For a web app that you will open in a webview, which provides data to a charting library, you can use the Chart api available at Upstox API Documentation for historical data. For real-time data, you can use WebSocket.