JSPM

vue-chartjs-financial

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q33528F
  • License ISC

Financial (Candlestick/Ohlc) charts with chartjs.org and npm package vue-chartjs

Package Exports

  • vue-chartjs-financial

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue-chartjs-financial) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

vue-chartjs-financial

This is a sample vue-cli project utilizing the implementation of vue-chartjs to include Chart.js Financial Charts.

How does it work

A copy of vue-chartjs source code located inside src/lib/. Here, vue-chartjs is using a modified version of Chart object rather than the one exported from Chart.js official plugin. (Chart.js still needs to be installed)

OHLC and Candlestick charts/objects are added to vue-chartjs's BaseCharts.js

How to use

vue-chartjs's guide explains how the plugin works, with 2 additional charts being exported:

  • Ohlc, and
  • Candlestick