Skip to content

Commit eb8e5d2

Browse files
Pie Chart Offset doesn't work
#319
1 parent dbdcd57 commit eb8e5d2

File tree

1 file changed

+1
-1
lines changed
  • classes/Visualizer/Render/Sidebar/Type

1 file changed

+1
-1
lines changed

classes/Visualizer/Render/Sidebar/Type/Pie.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ protected function _renderSlicesSettings() {
186186
self::_renderTextItem(
187187
esc_html__( 'Slice Offset', 'visualizer' ),
188188
'slices[' . $i . '][offset]',
189-
isset( $this->slices[ $i ]['color'] ) ? $this->slices[ $i ]['color'] : null,
189+
isset( $this->slices[ $i ]['offset'] ) ? $this->slices[ $i ]['offset'] : null,
190190
esc_html__( "How far to separate the slice from the rest of the pie, from 0.0 (not at all) to 1.0 (the pie's radius).", 'visualizer' ),
191191
'0.0'
192192
);

0 commit comments

Comments
 (0)