diff --git a/src/Services/FileAccess.js b/src/Services/FileAccess.js index b843fa3..04604c2 100644 --- a/src/Services/FileAccess.js +++ b/src/Services/FileAccess.js @@ -48,7 +48,6 @@ class FileAccess { setFile = file => { if (this.validateFileType(file)) this.file = file - console.log(file.type) } validateFileType= file => { diff --git a/src/views/Chart/ChartViewer.js b/src/views/Chart/ChartViewer.js index 2610d13..ea3c9dc 100644 --- a/src/views/Chart/ChartViewer.js +++ b/src/views/Chart/ChartViewer.js @@ -1,8 +1,6 @@ import React, { Component } from 'react' -import ChartJsDataset from '../../Models/Chart/ChartjsDataset' import FocusChart from '../../Models/Chart/FocusChart' import { Doughnut } from 'react-chartjs-2' -import { Dropdown } from 'semantic-ui-react' class ChartViewer extends Component { constructor () { @@ -38,27 +36,9 @@ class ChartViewer extends Component { return } - // renderGroupByOptions = () => { - // const focusTable = this.focusTable.table - // if (!focusTable) return [] - - // const headers = focusTable.headers - // const options = headers.map(h => { - // return {key: h, text: h, value: h} - // }) - // return options - // } - render = () => { return (
- {/* */} {this.renderChart()}
)