← All changes
|
classes/Visualizer/Gutenberg/src/Components/ChartRender.js
+0
-6
3.10.4
→
3.6.1
View file →
| @@ -60,14 +60,8 @@ | ||
| 60 | 60 | if ( data['visualizer-data-exploded']) { |
| 61 | 61 | footer = __( 'Annotations in this chart may not display here but they will display in the front end.' ); |
| 62 | 62 | } |
| 63 | 63 | |
| 64 | - if ( this.props.chart['visualizer-series'] && 0 <= [ 'date', 'datetime', 'timeofday' ].indexOf( this.props.chart['visualizer-series'][0].type ) ) { | |
| 65 | - if ( this.props.chart['visualizer-settings'] && ( this.props.chart['visualizer-settings'].hAxis && '' == this.props.chart['visualizer-settings'].hAxis.format ) ) { | |
| 66 | - this.props.chart['visualizer-settings'].hAxis.format = 'YYYY-MM-dd'; | |
| 67 | - } | |
| 68 | - } | |
| 69 | - | |
| 70 | 64 | return ( |
| 71 | 65 | <div className={ this.props.className }> |
| 72 | 66 | |
| 73 | 67 | { ( null !== this.props.chart ) && |