Skip to content

Instantly share code, notes, and snippets.

View retsef's full-sized avatar

Roberto Scinocca retsef

View GitHub Profile
@retsef
retsef / chart_controller.js
Created March 31, 2022 23:11
Chartkick with stimulus
import { Controller } from "@hotwired/stimulus"
import Chartkick from "chartkick";
export default class extends Controller {
static targets = [];
static values = {
type: String,
data: Array,
options: Object
};