A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://nagix.github.io/chartjs-plugin-streaming/master/guide/getting-started.html below:

Website Navigation


Getting Started | chartjs-plugin-streaming

# Getting Started # Installation # npm

(opens new window) (opens new window)

# CDN

(opens new window) (opens new window)

By default, https://cdn.jsdelivr.net/npm/chartjs-plugin-streaming returns the latest (minified) version, however it's highly recommended (opens new window) to always specify a version in order to avoid breaking changes. This can be achieved by appending @{version} to the url:

Read more about jsDeliver versioning on their website (opens new window).

# Download

(opens new window) (opens new window)

You can download the latest version of chartjs-plugin-streaming from the GitHub Releases (opens new window):

# Integration # HTML

IMPORTANT

chartjs-plugin-streaming must be loaded after the Chart.js, a date library and a corresponding adapter!

This plugin requires both a date library and a corresponding adapter to be present. Luxon (opens new window) is used in the example above, but you can choose from the available adapters (opens new window).

Registration is not needed in case of using script tags.

# Module

Once imported, the plugin needs to be registered globally.

# Configuration

The plugin options can be changed at 3 different levels and are evaluated with the following priority:

For example:

Last Updated: 6/19/2021, 6:53:43 AM


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4