All Projects → chartjs → Chartjs Plugin Deferred

chartjs / Chartjs Plugin Deferred

Licence: mit
Chart.js plugin to defer initial chart updates

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Chartjs Plugin Deferred

Chartjs Plugin Streaming
Chart.js plugin for live streaming data
Stars: ✭ 310 (+376.92%)
Mutual labels:  plugin, chartjs
Chartjs Plugin Dragdata
Draggable data points plugin for Chart.js
Stars: ✭ 116 (+78.46%)
Mutual labels:  plugin, chartjs
Chartjs Plugin Datalabels
Chart.js plugin to display labels on data elements
Stars: ✭ 545 (+738.46%)
Mutual labels:  plugin, chartjs
Chartjs Plugin Colorschemes
Predefined color schemes for Chart.js
Stars: ✭ 189 (+190.77%)
Mutual labels:  plugin, chartjs
Chartjs Plugin Annotation
Annotation plugin for Chart.js
Stars: ✭ 389 (+498.46%)
Mutual labels:  plugin, chartjs
Chartjs Plugin Zoom
Zoom and pan plugin for Chart.js
Stars: ✭ 404 (+521.54%)
Mutual labels:  plugin, chartjs
Chartjs Plugin Rough
Chart.js plugin to create charts with a hand-drawn, sketchy, appearance
Stars: ✭ 59 (-9.23%)
Mutual labels:  plugin, chartjs
Flutter appavailability
A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.
Stars: ✭ 63 (-3.08%)
Mutual labels:  plugin
Scxcodeeditorinset
Xcode plugin that adds an empty (configurable) space to the end of the editor text view
Stars: ✭ 64 (-1.54%)
Mutual labels:  plugin
Vue Confirm Dialog
Simple Confirm Dialog verification plugin with Vue.js.
Stars: ✭ 62 (-4.62%)
Mutual labels:  plugin
Webconsole
Spigot plugin to manage your server remotely using a web interface
Stars: ✭ 62 (-4.62%)
Mutual labels:  plugin
Pure Css3 Animated Border
Pure CSS3 animated border for all html element.
Stars: ✭ 63 (-3.08%)
Mutual labels:  plugin
Wordpress Indieweb
Helps you establish your IndieWeb identity by extending the user profile to provide rel-me and h-card fields. It also includes a bundled installer for a core set of IndieWeb-related plugins.
Stars: ✭ 64 (-1.54%)
Mutual labels:  plugin
Wepos
WooCommerce Point of Sale ( POS ) WordPress Plugin
Stars: ✭ 63 (-3.08%)
Mutual labels:  plugin
Xvim
Powerfull vim configuration for C/C++/GO/JS coder(好用的vim插件集成包,支持C/C++/GO/JS)
Stars: ✭ 65 (+0%)
Mutual labels:  plugin
Bootstrap For Vue
Use https://bootstrap-vue.js.org instead.
Stars: ✭ 62 (-4.62%)
Mutual labels:  plugin
Simple Jekyll Search
A JavaScript library to add search functionality to any Jekyll blog.
Stars: ✭ 1,133 (+1643.08%)
Mutual labels:  plugin
Multihighlight
Jetbrains IDE plugin: highlight identifiers with custom colors 🖌💡
Stars: ✭ 65 (+0%)
Mutual labels:  plugin
Bootstrapgrid
Sketch plugin inserts correct bootstrap grid in nested blocks.
Stars: ✭ 64 (-1.54%)
Mutual labels:  plugin
Harbor
Harbor is a plugin that redefines sleep within your Spigot server!
Stars: ✭ 64 (-1.54%)
Mutual labels:  plugin

github travis codeclimate

Chart.js plugin to defer initial chart updates until the user scrolls and the canvas appears inside the viewport, and thus trigger the initial chart animations when the user is likely to see them.

Requires Chart.js 2.6.0 or later.

Documentation

Example

new Chart(ctx, {
  // ... data ...
  options: {
    // ... other options ...
    plugins: {
      deferred: {
        xOffset: 150,   // defer until 150px of the canvas width are inside the viewport
        yOffset: '50%', // defer until 50% of the canvas height are inside the viewport
        delay: 500      // delay of 500 ms after the canvas is considered inside the viewport
      }
    }
  }
});

Development

You first need to install node dependencies (requires Node.js):

> npm install

The following commands will then be available from the repository root:

> gulp build            // build dist files
> gulp build --watch    // build and watch for changes
> gulp lint             // perform code linting
> gulp docs             // generate GitBook documentation (`dist/docs`)
> gulp samples          // prepare samples for release (`dist/samples`)
> gulp package          // create an archive with dist files and samples
> gulp netlify          // prepare Netlify artifacts (`dist/www`)

License

chartjs-plugin-deferred is available under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].