Skip to content

Commit 7730ee4

Browse files
Merge pull request #256 from contactashish13/issue-252
[Feature Request] Add Both % and Value to Pie Slice
2 parents 18eb26c + 4f20ce7 commit 7730ee4

File tree

1 file changed

+2
-0
lines changed
  • classes/Visualizer/Render/Sidebar/Type

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ protected function _renderPieSettings() {
102102
'percentage' => esc_html__( 'The percentage of the slice size out of the total', 'visualizer' ),
103103
'value' => esc_html__( 'The quantitative value of the slice', 'visualizer' ),
104104
'label' => esc_html__( 'The name of the slice', 'visualizer' ),
105+
// the below option is undocumented.
106+
'value-and-percentage' => esc_html__( 'The quantitative value and percentage of the slice', 'visualizer' ),
105107
'none' => esc_html__( 'No text is displayed', 'visualizer' ),
106108
),
107109
esc_html__( 'The content of the text displayed on the slice.', 'visualizer' )

0 commit comments

Comments
 (0)