PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.0.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.0.2
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
← All changes | classes/Visualizer/Render/Page/Data.php +340 -68 3.10.03.0.2 View file →
@@ -37,38 +37,19 @@
37 37 * @access protected
38 38 */
39 39 protected function _renderContent() {
40 40 // Added by Ash/Upwork
41 - if ( Visualizer_Module::can_show_feature( 'simple-editor' ) ) {
42 - Visualizer_Render_Layout::show( 'simple-editor-screen', $this->chart->ID );
43 - }
44 -
45 - if ( Visualizer_Module::is_pro() ) {
46 - do_action( 'visualizer_add_editor_etc', $this->chart->ID );
47 -
48 - if ( Visualizer_Module::is_pro() && Visualizer_Module::is_pro_older_than( '1.9.0' ) ) {
49 - global $Visualizer_Pro;
50 - $Visualizer_Pro->_addEditor( $this->chart->ID );
51 - if ( method_exists( $Visualizer_Pro, '_addFilterWizard' ) ) {
52 - $Visualizer_Pro->_addFilterWizard( $this->chart->ID );
53 - }
41 + if ( VISUALIZER_PRO ) {
42 + global $Visualizer_Pro;
43 + $Visualizer_Pro->_addEditor( $this->chart->ID );
44 + if ( method_exists( $Visualizer_Pro, '_addFilterWizard' ) ) {
45 + $Visualizer_Pro->_addFilterWizard( $this->chart->ID );
54 46 }
55 47 }
56 -
57 - $this->add_additional_content();
58 -
59 48 // Added by Ash/Upwork
60 - if ( Visualizer_Module::is_pro() ) {
61 - echo '<div id="chart_wrapper_canvas">';
62 - echo '<div id="control_wrapper_canvas"></div>';
63 - }
64 49 echo '<div id="canvas">';
65 50 echo '<img src="', VISUALIZER_ABSURL, 'images/ajax-loader.gif" class="loader">';
66 51 echo '</div>';
67 - if ( Visualizer_Module::is_pro() ) {
68 - echo '</div>';
69 - }
70 - echo $this->custom_css;
71 52 }
72 53
73 54 /**
74 55 * Renders sidebar content.
@@ -77,33 +58,343 @@
77 58 *
78 59 * @access protected
79 60 */
80 61 protected function _renderSidebarContent() {
62 + $upload_link = add_query_arg(
63 + array(
64 + 'action' => Visualizer_Plugin::ACTION_UPLOAD_DATA,
65 + 'nonce' => wp_create_nonce(),
66 + 'chart' => $this->chart->ID,
67 + ), admin_url( 'admin-ajax.php' )
68 + );
81 69 ?>
82 - <div id="viz-tabs">
83 - <ul>
84 - <li><a href="#viz-tab-basic-content" id="viz-tab-basic"><?php _e( 'Source', 'visualizer' ); ?></a></li>
85 - <li><a href="#viz-tab-advanced-content" id="viz-tab-advanced"><?php _e( 'Settings', 'visualizer' ); ?></a></li>
86 - <li><a href="#viz-tab-help-content" id="viz-tab-help"><?php _e( 'Help', 'visualizer' ); ?></a></li>
87 - </ul>
88 - <div id="viz-tab-basic-content"><?php Visualizer_Render_Layout::show( 'tab-basic', $this->chart->ID ); ?></div>
89 - <div id="viz-tab-advanced-content"><?php Visualizer_Render_Layout::show( 'tab-advanced', $this->chart->ID, $this->sidebar ); ?></div>
90 - <div id="viz-tab-help-content"><?php Visualizer_Render_Layout::show( 'tab-help', $this->chart->ID ); ?></div>
91 - </div>
70 + <span id="visualizer-chart-id" data-id="<?php echo $this->chart->ID; ?>"></span>
71 + <iframe id="thehole" name="thehole"></iframe>
72 + <ul class="viz-group-wrapper full-height">
73 + <li class="viz-group viz-group-category open" id="vz-chart-source">
74 + <div class="viz-group-header">
75 + <h2 class="viz-group-title viz-main-group"><?php _e( 'Chart Data', 'visualizer' ); ?></h2>
76 + </div>
77 + <ul class="viz-group-content">
78 + <ul class="viz-group-wrapper">
79 + <li class="viz-group">
80 + <h2 class="viz-group-title viz-sub-group visualizer-src-tab"><?php _e( 'Import data from file', 'visualizer' ); ?></h2>
81 + <div class="viz-group-content">
82 + <p class="viz-group-description"><?php esc_html_e( 'Select and upload your data CSV file here. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?></p>
83 + <p class="viz-group-description"><?php echo sprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></p>
84 + <form id="vz-csv-file-form" action="<?php echo $upload_link; ?>" method="post"
85 + target="thehole" enctype="multipart/form-data">
86 + <input type="hidden" id="remote-data" name="remote_data">
87 + <div class="">
88 + <input type="file" id="csv-file" name="local_data">
89 + </div>
90 + <input type="button" class="button button-primary" id="vz-import-file"
91 + value="<?php _e( 'Import', 'visualizer' ); ?>">
92 + </form>
93 + </div>
94 + </li>
95 + <li class="viz-group visualizer-import-url">
96 + <h2 class="viz-group-title viz-sub-group visualizer-src-tab"><?php _e( 'Import data from URL', 'visualizer' ); ?></h2>
97 + <ul class="viz-group-content">
98 + <li class="viz-subsection">
99 + <span class="viz-section-title"><?php _e( 'One time import', 'visualizer' ); ?></span>
92 100
93 - <li class="viz-group bottom-fixed" id="vz-chart-copyright">
94 - Hate it? Love it? <a href="https://wordpress.org/support/plugin/visualizer/reviews/#new-post" target="_blank">Rate it!</a>
95 - <br/>
96 - Visualizer &copy;
101 + <div class="viz-section-items section-items">
102 + <p class="viz-group-description"><?php _e( 'You can use this to import data from a remote CSV file. The first row of the CSV file should contain the column headings. The second one should contain series type (string, number, boolean, date, datetime, timeofday).', 'visualizer' ); ?> </p>
103 + <p class="viz-group-description"><?php echo sprintf( __( 'If you are unsure about how to format your data CSV then please take a look at this sample: %1$s %2$s%3$s', 'visualizer' ), '<a href="' . VISUALIZER_ABSURL . 'samples/' . $this->type . '.csv" target="_blank">', $this->type, '.csv</a>' ); ?></p>
104 + <p class="viz-group-description"> <?php _e( 'You can also import data from Google Spreadsheet, for more info check <a href="https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
105 + <form id="vz-one-time-import" action="<?php echo $upload_link; ?>" method="post"
106 + target="thehole" enctype="multipart/form-data">
107 + <div class="remote-file-section">
108 + <input type="url" id="remote-data" name="remote_data"
109 + placeholder="<?php esc_html_e( 'Please enter the URL of CSV file', 'visualizer' ); ?>"
110 + class="visualizer-input">
111 +
112 + </div>
113 + <input type="button" id="view-remote-file" class="button button-primary"
114 + value="<?php _e( 'Import', 'visualizer' ); ?>">
115 + </form>
116 + </div>
117 + </li>
118 + <li class="viz-subsection <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature', 'schedule-chart' ); ?>">
119 + <span class="viz-section-title visualizer-import-url-schedule"><?php _e( 'Schedule Import', 'visualizer' ); ?>
120 + <span
121 + class="dashicons dashicons-lock"></span></span>
122 + <div class="viz-section-items section-items">
123 + <p class="viz-group-description"><?php _e( 'You can choose here to synchronize your chart data with a remote CSV file.', 'visualizer' ); ?> </p>
124 + <p class="viz-group-description"> <?php _e( 'You can also synchronize with your Google Spreadsheet file, for more info check <a href="https://github.com/Codeinwp/visualizer/wiki/How-can-I-populate-data-from-Google-Spreadsheet%3F" target="_blank" >this</a> tutorial', 'visualizer' ); ?></p>
125 + <p class="viz-group-description"> <?php _e( 'We will update the chart data based on your time interval preference by overwritting the current data with the one from the URL.', 'visualizer' ); ?></p>
126 + <form id="vz-schedule-import" action="<?php echo $upload_link; ?>" method="post"
127 + target="thehole" enctype="multipart/form-data">
128 + <div class="remote-file-section">
129 + <input type="url" id="vz-schedule-url" name="remote_data"
130 + value="<?php echo get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_CHART_URL, true ); ?>"
131 + placeholder="<?php esc_html_e( 'Please enter the URL of CSV file', 'visualizer' ); ?>"
132 + class="visualizer-input visualizer-remote-url">
133 + <p class="viz-group-description"><?php _e( 'How often do you want to check the url', 'visualizer' ); ?></p>
134 + <select name="vz-import-time" id="vz-import-time"
135 + class="visualizer-select">
136 + <?php
137 + $hours = get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_CHART_SCHEDULE, true );
138 + $schedules = array(
139 + '1' => __( 'Each hour', 'visualizer' ),
140 + '12' => __( 'Each 12 hours', 'visualizer' ),
141 + '24' => __( 'Each day', 'visualizer' ),
142 + '36' => __( 'Each 3 days', 'visualizer' ),
143 + );
144 + foreach ( $schedules as $num => $name ) {
145 + $extra = $num == $hours ? 'selected' : '';
146 + ?>
147 + <option value="<?php echo $num; ?>" <?php echo $extra; ?>><?php echo $name; ?></option>
148 + <?php
149 + }
150 + ?>
151 + </select>
152 + </div>
153 + <input type="button" id="vz-save-schedule" class="button button-primary"
154 + value="<?php _e( 'Save schedule', 'visualizer' ); ?>">
155 +
156 + <?php echo apply_filters( 'visualizer_pro_upsell', '', 'schedule-chart' ); ?>
157 + </form>
158 + </div>
159 + </li>
160 + </ul>
161 + </li>
162 + <li class="viz-group <?php echo apply_filters( 'visualizer_pro_upsell_class', '' ); ?> ">
163 + <h2 class="viz-group-title viz-sub-group"
164 + data-current="chart"><?php _e( 'Import from other chart', 'visualizer' ); ?><span
165 + class="dashicons dashicons-lock"></span></h2>
166 + <div class="viz-group-content edit-data-content">
167 + <div>
168 + <p class="viz-group-description"><?php _e( 'You can import here data from your previously created charts', 'visualizer' ); ?></p>
169 + <form>
170 + <select name="vz-import-from-chart" id="chart-id" class="visualizer-select">
171 + <?php
172 + $fetch_link = add_query_arg(
173 + array(
174 + 'action' => ( VISUALIZER_PRO ) ? Visualizer_Pro::ACTION_FETCH_DATA : '',
175 + 'nonce' => wp_create_nonce(),
176 + ), admin_url( 'admin-ajax.php' )
177 + );
178 + $query_args_charts = array(
179 + 'post_type' => Visualizer_Plugin::CPT_VISUALIZER,
180 + 'posts_per_page' => 300,
181 + 'no_found_rows' => true,
182 + );
183 + $charts = array();
184 + $query = new WP_Query( $query_args_charts );
185 + while ( $query->have_posts() ) {
186 + $chart = $query->next_post();
187 + $settings = get_post_meta( $chart->ID, Visualizer_Plugin::CF_SETTINGS, true );
188 + ?>
189 + <option value="<?php echo $chart->ID; ?>"><?php echo empty( $settings['title'] ) ? '#' . $chart->ID : $settings['title']; ?></option>
190 + <?php
191 + }
192 + ?>
193 +
194 + </select>
195 + </form>
196 + <input type="button" id="existing-chart" class="button button-primary"
197 + value="<?php _e( 'Import Chart', 'visualizer' ); ?>"
198 + data-viz-link="<?php echo $fetch_link; ?>">
199 + <?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
200 + </div>
201 + </div>
202 + </li>
203 +
204 + <li class="viz-group <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature', 'schedule-chart' ); ?> ">
205 + <h2 class="viz-group-title viz-sub-group"><?php _e( 'Import from WordPress', 'visualizer' ); ?><span
206 + class="dashicons dashicons-lock"></span></h2>
207 + <div class="viz-group-content edit-data-content">
208 + <div>
209 + <p class="viz-group-description"><?php _e( 'You can import here data from WordPress', 'visualizer' ); ?></p>
210 + <input type="button" id="filter-chart-button" class="button button-primary "
211 + value="<?php _e( 'Create Filters', 'visualizer' ); ?>" data-current="chart"
212 + data-t-filter="<?php _e( 'Show Chart', 'visualizer' ); ?>"
213 + data-t-chart="<?php _e( 'Create Filters', 'visualizer' ); ?>">
214 + <?php echo apply_filters( 'visualizer_pro_upsell', '', 'schedule-chart' ); ?>
215 + </div>
216 + </div>
217 + </li>
218 +
219 + <li class="viz-group <?php echo apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature' ); ?>">
220 + <h2 class="viz-group-title viz-sub-group visualizer-editor-tab"
221 + data-current="chart"><?php _e( 'Add data manually', 'visualizer' ); ?><span
222 + class="dashicons dashicons-lock"></span></h2>
223 + <form id="editor-form" action="<?php echo $upload_link; ?>" method="post" target="thehole">
224 + <input type="hidden" id="chart-data" name="chart_data">
225 + <input type="hidden" id="chart-data-src" name="chart_data_src">
226 + </form>
227 +
228 + <div class="viz-group-content edit-data-content">
229 + <div>
230 + <p class="viz-group-description"><?php _e( 'You can manually edit the chart data using the spreadsheet like editor.', 'visualizer' ); ?></p>
231 + <input type="button" id="editor-chart-button" class="button button-primary "
232 + value="<?php _e( 'View Editor', 'visualizer' ); ?>" data-current="chart"
233 + data-t-editor="<?php _e( 'Show Chart', 'visualizer' ); ?>"
234 + data-t-chart="<?php _e( 'View Editor', 'visualizer' ); ?>">
235 +
236 + <?php echo apply_filters( 'visualizer_pro_upsell', '' ); ?>
237 + </div>
238 + </div>
239 + </li>
240 + </ul>
241 + </li>
242 + </ul>
243 + <li class="viz-group viz-group-category bottom-fixed sidebar-footer-link" id="vz-chart-settings">
244 + <h2><span class="dashicons dashicons-admin-tools"></span><?php _e( 'Advanced', 'visualizer' ); ?></h2>
245 + <div class="viz-group-header">
246 + <button class="customize-section-back" tabindex="0"></button>
247 + <h3 class="viz-group-title viz-main-group"><?php _e( 'Chart Settings', 'visualizer' ); ?></h3>
248 + </div>
249 + <ul class="viz-group-content">
250 + <form id="settings-form" action="<?php echo add_query_arg( 'nonce', wp_create_nonce() ); ?>"
251 + method="post">
252 + <?php echo $this->sidebar; ?>
253 + </form>
254 + </ul>
255 + </li>
256 +
257 + <?php $this->getPermissionsLink( $this->chart->ID ); ?>
258 +
259 + <li class="viz-group bottom-fixed" id="vz-chart-copyright">Visualizer &copy; <?php echo date( 'Y', current_time( 'timestamp' ) ); ?></li>
260 + </ul>
97 261 <?php
98 - // phpcs:ignore WordPress.DateTime.RestrictedFunctions.date_date, WordPress.DateTime.CurrentTimeTimestamp.Requested
99 - echo date( 'Y', current_time( 'timestamp' ) );
100 - ?>
262 + // changed by Ash/Upwork
263 + }
264 +
265 + /**
266 + * Generates the permissions link.
267 + *
268 + * @access private
269 + * @param int $id The chart id.
270 + */
271 + private function getPermissionsLink( $id ) {
272 + $permissions = apply_filters( 'visualizer_pro_get_permissions', null, $id );
273 + if ( $permissions ) {
274 + foreach ( $permissions as $k => $v ) {
275 + $this->$k = $v;
276 + }
277 + }
278 +?>
279 + <li class="viz-group viz-group-category bottom-fixed sidebar-footer-link" id="vz-chart-permissions">
280 + <h2><span class="dashicons dashicons-admin-users"></span><?php _e( 'Permissions', 'visualizer' ); ?></h2>
281 + <div class="viz-group-header">
282 + <button class="customize-section-back" tabindex="0"></button>
283 + <h3 class="viz-group-title viz-main-group"><?php _e( 'Chart Settings', 'visualizer' ); ?></h3>
284 + </div>
285 + <ul class="viz-group-content">
286 + <form id="permissions-form" target="thehole" action="
287 + <?php
288 + echo add_query_arg(
289 + array(
290 + 'nonce' => wp_create_nonce(),
291 + 'tab' => 'permissions',
292 + ), remove_query_arg( 'tab', $_SERVER['REQUEST_URI'] )
293 + );
294 +?>
295 +" method="post">
296 + <?php $this->permissionsSidebar(); ?>
297 + </form>
298 + </ul>
101 299 </li>
102 - <?php
300 +<?php
103 301 }
104 302
105 303 /**
304 + * Generates the permissions form.
305 + *
306 + * @access private
307 + */
308 + private function permissionsSidebar() {
309 + Visualizer_Render_Sidebar::_renderGroupStart(
310 + esc_html__( 'Who can see this chart?', 'visualizer' ) . '<span
311 + class="dashicons dashicons-lock"></span>', '', apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature', 'chart-permissions' )
312 + );
313 + Visualizer_Render_Sidebar::_renderSectionStart();
314 + Visualizer_Render_Sidebar::_renderSectionDescription( esc_html__( 'Select who can view the chart on the front-end.', 'visualizer' ) );
315 +
316 + if ( ! isset( $this->permissions['read'] ) ) {
317 + $this->permissions['read'] = 'all';
318 + }
319 +
320 + Visualizer_Render_Sidebar::_renderSelectItem(
321 + '',
322 + 'permissions[read]',
323 + $this->permissions['read'],
324 + array(
325 + 'all' => esc_html__( 'All Users', 'visualizer' ),
326 + 'users' => esc_html__( 'Select Users', 'visualizer' ),
327 + 'roles' => esc_html__( 'Select Roles', 'visualizer' ),
328 + ),
329 + '',
330 + false,
331 + array( 'visualizer-permission', 'visualizer-permission-type', 'visualizer-permission-read' ),
332 + array(
333 + 'permission-type' => 'read',
334 + )
335 + );
336 +
337 + $options = apply_filters( 'visualizer_pro_get_permissions_data', array(), isset( $this->permissions['read'] ) ? $this->permissions['read'] : 'roles' );
338 +
339 + Visualizer_Render_Sidebar::_renderSelectItem(
340 + '',
341 + 'permissions[read-specific][]',
342 + isset( $this->permissions['read-specific'] ) ? $this->permissions['read-specific'] : array(),
343 + $options,
344 + '',
345 + true,
346 + array( 'visualizer-permission', 'visualizer-permission-specific', 'visualizer-permission-read-specific' )
347 + );
348 + Visualizer_Render_Sidebar::_renderSectionEnd( apply_filters( 'visualizer_pro_upsell', 'only-pro-feature', 'chart-permissions' ) );
349 + Visualizer_Render_Sidebar::_renderGroupEnd();
350 +
351 + Visualizer_Render_Sidebar::_renderGroupStart(
352 + esc_html__( 'Who can edit this chart?', 'visualizer' ) . '<span
353 + class="dashicons dashicons-lock"></span>', '', apply_filters( 'visualizer_pro_upsell_class', 'only-pro-feature', 'chart-permissions' )
354 + );
355 + Visualizer_Render_Sidebar::_renderSectionStart();
356 + Visualizer_Render_Sidebar::_renderSectionDescription( esc_html__( 'Select who can edit the chart on the front-end.', 'visualizer' ) );
357 +
358 + if ( ! isset( $this->permissions['edit'] ) ) {
359 + $this->permissions['edit'] = 'roles';
360 + $this->permissions['edit-specific'] = 'administrator';
361 + }
362 +
363 + Visualizer_Render_Sidebar::_renderSelectItem(
364 + '',
365 + 'permissions[edit]',
366 + $this->permissions['edit'],
367 + array(
368 + 'all' => esc_html__( 'All Users', 'visualizer' ),
369 + 'users' => esc_html__( 'Select Users', 'visualizer' ),
370 + 'roles' => esc_html__( 'Select Roles', 'visualizer' ),
371 + ),
372 + '',
373 + false,
374 + array( 'visualizer-permission', 'visualizer-permission-type', 'visualizer-permission-edit' ),
375 + array(
376 + 'permission-type' => 'edit',
377 + )
378 + );
379 +
380 + $options = apply_filters( 'visualizer_pro_get_permissions_data', array(), isset( $this->permissions['edit'] ) ? $this->permissions['edit'] : 'roles' );
381 +
382 + Visualizer_Render_Sidebar::_renderSelectItem(
383 + '',
384 + 'permissions[edit-specific][]',
385 + isset( $this->permissions['edit-specific'] ) ? $this->permissions['edit-specific'] : array(),
386 + $options,
387 + '',
388 + true,
389 + array( 'visualizer-permission', 'visualizer-permission-specific', 'visualizer-permission-edit-specific' )
390 + );
391 + Visualizer_Render_Sidebar::_renderSectionEnd( apply_filters( 'visualizer_pro_upsell', 'only-pro-feature', 'chart-permissions' ) );
392 + Visualizer_Render_Sidebar::_renderGroupEnd();
393 +
394 + }
395 +
396 + /**
106 397 * Renders toolbar content.
107 398 *
108 399 * @since 1.0.0
109 400 *
@@ -109,35 +400,16 @@
109 400 *
110 401 * @access protected
111 402 */
112 403 protected function _renderToolbar() {
113 - // don't show back button at all.
114 - // NOTE: We can't be selective on the post_status here because when a new chart reaches the settings screen, its status changes to publish.
115 - if ( ! VISUALIZER_SKIP_CHART_TYPE_PAGE ) {
116 - echo '<div class="toolbar-div">';
117 - echo '<a class="button button-large" href="', esc_url( add_query_arg( 'tab', 'types' ) ), '">';
118 - esc_html_e( 'Back', 'visualizer' );
119 - echo '</a>';
120 - echo '</div>';
121 - }
404 + // changed by Ash/Upwork
405 + echo '<div class="toolbar-div">';
406 + echo '<a class="button button-large" href="', add_query_arg( 'tab', 'types' ), '">';
407 + esc_html_e( 'Back', 'visualizer' );
408 + echo '</a>';
409 + echo '</div>';
122 410 echo '<input type="submit" id="settings-button" class="button button-primary button-large push-right" value="', $this->button, '">';
123 - if ( isset( $this->cancel_button ) ) {
124 - echo '<input type="submit" id="cancel-button" class="button button-secondary button-large push-right" value="', $this->cancel_button, '">';
125 - }
126 - }
411 + echo '</div>';
127 412
128 - /**
129 - * Renders the additional content.
130 - *
131 - * @access private
132 - */
133 - private function add_additional_content() {
134 - $source = strtolower( get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_SOURCE, true ) );
135 - $query = '';
136 - if ( 'visualizer_source_query' === $source ) {
137 - $query = get_post_meta( $this->chart->ID, Visualizer_Plugin::CF_DB_QUERY, true );
138 - }
139 - Visualizer_Render_Layout::show( 'db-query', $query, $this->chart->ID );
140 - Visualizer_Render_Layout::show( 'json-screen', $this->chart->ID );
141 413 }
142 414
143 415 }