Skip to content

Instantly share code, notes, and snippets.

View rakannimer's full-sized avatar
💭
I may be slow to respond.

Rakan Nimer rakannimer

💭
I may be slow to respond.
View GitHub Profile
"devDependencies": {
"babel-eslint": "^6.1.2",
"eslint": "^3.6.1",
"eslint-config-airbnb": "^12.0.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^1.16.0",
"eslint-plugin-jsx-a11y": "^2.2.2",
"eslint-plugin-react": "^6.3.0"
}
import React from 'react'
import {render} from 'react-dom'
import {Chart} from 'react-google-charts'
export default class App extends React.Component {
constructor(props) {
super(props)
this.state = {
data: [],
import React from 'react'
import {render} from 'react-dom'
import {Chart} from 'react-google-charts'
class App extends React.Component{
constructor(props) {
super(props);
}
onSelectEvent(Chart) {
console.log(Chart.chart.getSelection());