Does ZingChart support WebSockets?

We support built-in browser-supported WebSockets. You can reference who supports WebSockets here.

If any of our default feed options ( http://www.zingchart.com/docs/features/feeds/#feeds__overview ) are not suitable for your environment, the API Methods should allow you to modify the dataset of your chart whenever data comes in through the websocket. Internally, our feed and websocket options are coded using the external API we have provided. 

To provide a better understanding into how the websocket feature in our library is implemented, I have created a small demo using our own internal server using websockets :
http://jsfiddle.net/mschultz/e0wvw8p8/.

Notice that I am using the API Method 'appendseriesvalues' to modify my chart data whenever the websocket emits the 'onmessage' event. This approach will allow you to use any other method available (http://www.zingchart.com/docs/api/api-methods/).

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.