thousandeyes-sdk-python/thousandeyes-sdk-dashboards/docs/ApiPieChartWidgetProperties.md
Miguel Pragosa 23bfb1d946
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#158)
Co-authored-by: API Team <api-team@thousandeyes.com>
2026-06-23 11:11:56 +01:00

1.6 KiB

ApiPieChartWidgetProperties

Properties

Name Type Description Notes
type str Pie Chart widget type
group_by ApiAggregateProperty [optional]
data_source PieChartDatasource [optional]
show_submetrics bool Controls how metrics with submetric components are displayed. If `true` (default), the widget displays one chart per group. If `false`, the widget displays all submetrics in a single chart. For metrics without submetric components, this field is ignored and returned as `null`. [optional] [default to True]

Example

from thousandeyes_sdk.dashboards.models.api_pie_chart_widget_properties import ApiPieChartWidgetProperties

# TODO update the JSON string below
json = "{}"
# create an instance of ApiPieChartWidgetProperties from a JSON string
api_pie_chart_widget_properties_instance = ApiPieChartWidgetProperties.from_json(json)
# print the JSON string representation of the object
print(ApiPieChartWidgetProperties.to_json())

# convert the object into a dict
api_pie_chart_widget_properties_dict = api_pie_chart_widget_properties_instance.to_dict()
# create an instance of ApiPieChartWidgetProperties from a dict
api_pie_chart_widget_properties_from_dict = ApiPieChartWidgetProperties.from_dict(api_pie_chart_widget_properties_dict)

[Back to Model list] [Back to API list] [Back to README]