| @@ -9606,8 +9606,11 @@ | ||
| 9606 | 9606 | $slice_border_color = $settings['slice_border_color']; |
| 9607 | 9607 | $slice_border_width = $settings['slice_border_width']; |
| 9608 | 9608 | $tooltip_text_options = $settings['tooltip_text_options']; |
| 9609 | 9609 | $tooltip_text = $settings['tooltip_text']; |
| 9610 | + $data_grouping_limit = $settings['data_grouping_limit']; | |
| 9611 | + $data_grouping_label = $settings['data_grouping_label']; | |
| 9612 | + $data_grouping_color = $settings['data_grouping_color']; | |
| 9610 | 9613 | // $index_axis = $settings['index_axis']; |
| 9611 | 9614 | |
| 9612 | 9615 | ob_start(); |
| 9613 | 9616 | ?> |
| @@ -9729,8 +9732,47 @@ | ||
| 9729 | 9732 | ?> |
| 9730 | 9733 | </select> |
| 9731 | 9734 | </div> |
| 9732 | 9735 | </div> <!-- Slice tooltip Text --> |
| 9736 | + <div class="form-group row mb-2 <?php echo esc_attr($html_class_prefix) ?>options-section cb-changable-opt cb-pie_chart-opt display_none"> | |
| 9737 | + <div class="col-sm-5 d-flex align-items-center <?php echo esc_attr($html_class_prefix) ?>option-title"> | |
| 9738 | + <label for="ays-chart-option-data-grouping-limit" class="form-label"> | |
| 9739 | + <?php echo esc_html(__( "Chart Data Grouping Limit", "chart-builder" )); ?> | |
| 9740 | + <a class="ays_help" data-bs-toggle="tooltip" title="<?php echo esc_attr( __( "The percentage value of the pie, below which a slice will not show individually. All slices that have not passed this value will be combined to a single 'Other' slice, whose size is the sum of all their sizes. Default is not to show individually any slice which is smaller than half a degree.", "chart-builder" ) ); ?>"> | |
| 9741 | + <i class="ays_fa ays_fa_info_circle"></i> | |
| 9742 | + </a> | |
| 9743 | + </label> | |
| 9744 | + </div> | |
| 9745 | + <div class="col-sm-7 <?php echo esc_attr($html_class_prefix) ?>option-input <?php echo esc_attr($html_class_prefix) ?>input-align-right"> | |
| 9746 | + <input class="ays-text-input form-control <?php echo esc_attr($html_class_prefix) ?>option-text-input" id="ays-chart-option-data-grouping-limit" type="number" name="<?php echo esc_attr($html_name_prefix); ?>settings[data_grouping_limit]" value="<?php echo esc_attr($data_grouping_limit) ?>" step=".1" min="0" max="360"> | |
| 9747 | + </div> | |
| 9748 | + </div> <!-- Data Grouping Limit --> | |
| 9749 | + <div class="form-group row mb-2 <?php echo esc_attr($html_class_prefix) ?>options-section cb-changable-opt cb-pie_chart-opt display_none"> | |
| 9750 | + <div class="col-sm-5 d-flex align-items-center <?php echo esc_attr($html_class_prefix) ?>option-title"> | |
| 9751 | + <label for="ays-chart-option-data-grouping-label" class="form-label"> | |
| 9752 | + <?php echo esc_html(__( "Chart Data Grouping Label", "chart-builder" )); ?> | |
| 9753 | + <a class="ays_help" data-bs-toggle="tooltip" title="<?php echo esc_attr( __( "A label for the combination slice that holds all slices below chart data grouping limit.", "chart-builder" ) ); ?>"> | |
| 9754 | + <i class="ays_fa ays_fa_info_circle"></i> | |
| 9755 | + </a> | |
| 9756 | + </label> | |
| 9757 | + </div> | |
| 9758 | + <div class="col-sm-7 <?php echo esc_attr($html_class_prefix) ?>option-input"> | |
| 9759 | + <input class="ays-text-input form-control <?php echo esc_attr($html_class_prefix) ?>option-text-input" id="ays-chart-option-data-grouping-label" type="text" name="<?php echo esc_attr($html_name_prefix); ?>settings[data_grouping_label]" value="<?php echo esc_attr($data_grouping_label) ?>"> | |
| 9760 | + </div> | |
| 9761 | + </div> <!-- Data Grouping Label --> | |
| 9762 | + <div class="form-group row mb-2 <?php echo esc_attr($html_class_prefix) ?>options-section cb-changable-opt cb-pie_chart-opt display_none"> | |
| 9763 | + <div class="col-sm-5 d-flex align-items-center <?php echo esc_attr($html_class_prefix) ?>option-title"> | |
| 9764 | + <label for="ays-chart-option-data-grouping-color"> | |
| 9765 | + <?php echo esc_html(__( "Chart Data Grouping Color", "chart-builder" )); ?> | |
| 9766 | + <a class="ays_help" data-bs-toggle="tooltip" title="<?php echo esc_attr( __( "Color for the combination slice that holds all slices below chart data grouping limit.", "chart-builder" ) ); ?>"> | |
| 9767 | + <i class="ays_fa ays_fa_info_circle"></i> | |
| 9768 | + </a> | |
| 9769 | + </label> | |
| 9770 | + </div> | |
| 9771 | + <div class="col-sm-7 <?php echo esc_attr($html_class_prefix) ?>input-align-right"> | |
| 9772 | + <input id="ays-chart-option-data-grouping-color" class="form-control-color <?php echo esc_attr($html_class_prefix) ?>option-color-picker" type="color" name="<?php echo esc_attr($html_name_prefix); ?>settings[data_grouping_color]" value="<?php echo esc_attr($data_grouping_color) ?>"> | |
| 9773 | + </div> | |
| 9774 | + </div> <!-- Data Grouping Color --> | |
| 9733 | 9775 | <!-- <div class="form-group row mb-2 <?php // echo esc_attr($html_class_prefix) ?>options-section cb-changable-opt cb-pie_chart-opt cb-donut_chart-opt display_none"> |
| 9734 | 9776 | <div class="col-sm-5 d-flex align-items-center <?php // echo esc_attr($html_class_prefix) ?>option-title"> |
| 9735 | 9777 | <label for="ays-chart-option-index-axis"> |
| 9736 | 9778 | <?php // echo esc_html(__( "Horizontal ", "chart-builder" )); ?> |