← All changes
|
classes/Visualizer/Gutenberg/src/Components/ChartSelect.js
+1
-3
3.10.13
→
3.10.7
View file →
| @@ -22,9 +22,9 @@ | ||
| 22 | 22 | import PanelButton from './PanelButton.js'; |
| 23 | 23 | |
| 24 | 24 | import merge from 'merge'; |
| 25 | 25 | |
| 26 | -import { compact, formatDate, isValidJSON, formatData, googleChartPackages } from '../utils.js'; | |
| 26 | +import { compact, formatDate, isValidJSON, formatData } from '../utils.js'; | |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * WordPress dependencies |
| 30 | 30 | */ |
| @@ -171,9 +171,8 @@ | ||
| 171 | 171 | compact( this.props.chart['visualizer-settings']) |
| 172 | 172 | } |
| 173 | 173 | height="500px" |
| 174 | 174 | formatters={ formatData( data ) } |
| 175 | - chartPackages={ googleChartPackages } | |
| 176 | 175 | /> |
| 177 | 176 | ) : ( |
| 178 | 177 | <Chart |
| 179 | 178 | chartVersion={ chartVersion } |
| @@ -186,9 +185,8 @@ | ||
| 186 | 185 | compact( this.props.chart['visualizer-settings']) |
| 187 | 186 | } |
| 188 | 187 | height="500px" |
| 189 | 188 | formatters={ formatData( data ) } |
| 190 | - chartPackages={ googleChartPackages } | |
| 191 | 189 | /> |
| 192 | 190 | ) |
| 193 | 191 | ) } |
| 194 | 192 | |