How to use the chartkick.addAdapter function in chartkick

To help you get started, we’ve selected a few chartkick examples, based on popular ways it is used in public projects.

github ankane / vue-chartkick / src / index.js View on Github external
Chartkick.install = function(Vue, options) {
  if (options && options.adapter) {
  createComponent(Vue, "line-chart", Chartkick.LineChart)
  createComponent(Vue, "pie-chart", Chartkick.PieChart)
  createComponent(Vue, "column-chart", Chartkick.ColumnChart)
  createComponent(Vue, "bar-chart", Chartkick.BarChart)
  createComponent(Vue, "area-chart", Chartkick.AreaChart)
  createComponent(Vue, "scatter-chart", Chartkick.ScatterChart)
  createComponent(Vue, "geo-chart", Chartkick.GeoChart)
  createComponent(Vue, "timeline", Chartkick.Timeline)


Create beautiful charts with one line of JavaScript

Latest version published 4 months ago

Package Health Score

67 / 100
Full package analysis

Similar packages