This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.infusion-form { | |
width: 100%; | |
margin: 30px auto; | |
max-width: 600px; | |
} | |
.infusion-form .infusion-field { | |
margin-bottom: 15px; | |
} | |
.infusion-form .infusion-field { | |
color: #000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { Line } from 'react-chartjs-2'; | |
export default class ChartComponent extends Component { | |
getOptions = () => { | |
var itself = this; | |
return { | |
maintainAspectRatio: false, | |
responsive: true, | |
elements: { | |
line: { |