Last active
March 15, 2019 18:08
-
-
Save rwbrockhoff/66b69804b93f66238bd0559d9dec4d31 to your computer and use it in GitHub Desktop.
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
//--Chart Style Options--// | |
Chart.defaults.global.defaultFontFamily = "'PT Sans', sans-serif" | |
Chart.defaults.global.legend.display = false; | |
Chart.defaults.global.elements.line.tension = 0; | |
//--Chart Style Options--// | |
// ^ Place Chart Style Options above our class ^ | |
export default class myLineGraph extends Component { | |
chartRef = React.createRef(); | |
//Rest of our code.... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment