| @@ -100,15 +100,13 @@ | ||
| 100 | 100 | * Loads the assets. |
| 101 | 101 | */ |
| 102 | 102 | function load_google_assets( $deps, $is_frontend ) { |
| 103 | 103 | wp_register_script( 'google-jsapi', '//www.gstatic.com/charts/loader.js', array(), null, true ); |
| 104 | - wp_register_script( 'dom-to-image', VISUALIZER_ABSURL . 'js/lib/dom-to-image.min.js', array(), null, true ); | |
| 105 | 104 | wp_register_script( |
| 106 | 105 | 'visualizer-render-google-lib', |
| 107 | 106 | VISUALIZER_ABSURL . 'js/render-google.js', |
| 108 | 107 | array( |
| 109 | 108 | 'google-jsapi', |
| 110 | - 'dom-to-image', | |
| 111 | 109 | ), |
| 112 | 110 | Visualizer_Plugin::VERSION, |
| 113 | 111 | true |
| 114 | 112 | ); |
| @@ -149,9 +147,8 @@ | ||
| 149 | 147 | 'emphasis' => esc_html__( 'Emphasis', 'visualizer' ), |
| 150 | 148 | 'scope' => esc_html__( 'Scope', 'visualizer' ), |
| 151 | 149 | 'style' => esc_html__( 'Style', 'visualizer' ), |
| 152 | 150 | 'tooltip' => esc_html__( 'Tooltip', 'visualizer' ), |
| 153 | - 'interval' => esc_html__( 'Interval', 'visualizer' ), | |
| 154 | 151 | ), |
| 155 | 152 | sprintf( esc_html__( 'Determines whether the series has to be used for a special role as mentioned in %1$shere%2$s. You can view a few examples %3$shere%4$s.', 'visualizer' ), '<a href="https://developers.google.com/chart/interactive/docs/roles#what-roles-are-available" target="_blank">', '</a>', '<a href="https://docs.themeisle.com/article/1160-roles-for-series-visualizer" target="_blank">', '</a>' ) |
| 156 | 153 | ); |
| 157 | 154 | } |
| @@ -250,11 +247,8 @@ | ||
| 250 | 247 | $this->creator, |
| 251 | 248 | '' |
| 252 | 249 | ); |
| 253 | 250 | self::_renderSectionEnd(); |
| 254 | - | |
| 255 | - self::_renderChartImageSettings(); | |
| 256 | - | |
| 257 | 251 | do_action( 'visualizer_chart_settings', get_class( $this ), $this->_data, 'general', array( 'generic' => true ) ); |
| 258 | 252 | |
| 259 | 253 | self::_renderGroupEnd(); |
| 260 | 254 | } |