File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -67,16 +67,10 @@ public function __construct( $data = array() ) {
67
67
'none ' => esc_html__ ( 'Omit the legend ' , 'visualizer ' ),
68
68
);
69
69
70
- $ chart_type = $ this ->get_chart_type ( false );
71
- if ( ! in_array ( $ chart_type , array ( 'Pie ' ), true ) ) {
70
+ if ( ! in_array ( $ this ->get_chart_type ( false ), array ( 'Pie ' ), true ) ) {
72
71
$ this ->_legendPositions ['in ' ] = esc_html__ ( 'Inside the chart ' , 'visualizer ' );
73
72
}
74
73
75
- if ( in_array ( $ chart_type , array ( 'Bubble ' ), true ) ) {
76
- unset( $ this ->_legendPositions ['left ' ] );
77
- unset( $ this ->_legendPositions ['right ' ] );
78
- }
79
-
80
74
$ this ->_alignments = array (
81
75
'' => '' ,
82
76
'start ' => esc_html__ ( 'Aligned to the start of the allocated area ' , 'visualizer ' ),
You can’t perform that action at this time.
0 commit comments