File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
classes/Visualizer/Render Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -332,10 +332,10 @@ protected function _renderViewSettings() {
332
332
echo '<table class="section-table" cellspacing="0" cellpadding="0" border="0"> ' ;
333
333
echo '<tr> ' ;
334
334
echo '<td class="section-table-column"> ' ;
335
- echo '<input type="text" name="chartArea[left]" class="control-text" value=" ' , ! empty ( $ this ->chartArea ['left ' ] ) ? esc_attr ( $ this ->chartArea ['left ' ] ) : '' , '" placeholder="20%"> ' ;
335
+ echo '<input type="text" name="chartArea[left]" class="control-text" value=" ' , $ this -> chartArea [ ' left ' ] || $ this ->chartArea ['left ' ] === " 0 " ? esc_attr ( $ this ->chartArea ['left ' ] ) : '' , '" placeholder="20%"> ' ;
336
336
echo '</td> ' ;
337
337
echo '<td class="section-table-column"> ' ;
338
- echo '<input type="text" name="chartArea[top]" class="control-text" value=" ' , ! empty ( $ this ->chartArea ['top ' ] ) ? esc_attr ( $ this ->chartArea ['top ' ] ) : '' , '" placeholder="20%"> ' ;
338
+ echo '<input type="text" name="chartArea[top]" class="control-text" value=" ' , $ this -> chartArea [ ' top ' ] || $ this ->chartArea ['top ' ] === " 0 " ? esc_attr ( $ this ->chartArea ['top ' ] ) : '' , '" placeholder="20%"> ' ;
339
339
echo '</td> ' ;
340
340
echo '</tr> ' ;
341
341
echo '</table> ' ;
You can’t perform that action at this time.
0 commit comments