Skip to content

Files

Failed to load latest commit information.

Latest commit

 Cannot retrieve latest commit at this time.

History

History

chart-websockets

Updating Charts at Real-Time with WebSocket API

This Kendo UI for Angular sample project demonstrates how to update the Charts at real-time by using WebSocket API.

The demo is referred to in the Kendo UI for Angular official documentation in the article on using Kendo UI for Angular Charts with WebSockets.

Getting Started

  1. Clone this repository by using your favorite Git client or by executing git clone https://github.com/telerik/kendo-angular.git.
  2. Enter the examples directory by running cd examples.
  3. Run npm install to install the project dependencies.
  4. Enter the project directory by running cd projects/chart-websockets.
  5. In a separate terminal window, set up and run the server as outlined in the following section.
  6. Run ng serve chart-websockets.
  7. Open http://localhost:4200.

Setting Up the Server

The server folder contains a WebSocket server which is implemented with Express.

To start the server:

  1. Run cd server.
  2. Run npm install.
  3. Run npm start.