thousandeyes-sdk-python/thousandeyes-sdk-dashboards/docs/ApiGroupedBarchartWidget.md
Jack Browne 92b9a0126c
CP-2126 Refactor HTTP client into shared package (#5)
* CP-2126 Refactor HTTP client into shared package

* CP-2126 Regenerate Python SDK
2024-05-23 11:57:23 +01:00

53 lines
3.4 KiB
Markdown

# ApiGroupedBarchartWidget
Displays grouped bars, each representing multiple data points. You can configure the bars to align horizontally or vertically.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **str** | Identifier of the widget. | [optional] [readonly]
**title** | **str** | Title of the widget | [optional]
**visual_mode** | [**VisualMode**](VisualMode.md) | | [optional]
**embed_url** | **str** | When `isEmbedded` is set to `true`, an `embedUrl` is provided. | [optional] [readonly]
**is_embedded** | **bool** | Set to `true` if widget is marked as embedded; otherwise, set to `false`. | [optional]
**metric_group** | [**MetricGroup**](MetricGroup.md) | | [optional]
**direction** | [**DashboardMetricDirection**](DashboardMetricDirection.md) | | [optional]
**metric** | [**DashboardMetric**](DashboardMetric.md) | | [optional]
**filters** | **Dict[str, List[object]]** | (Optional) Specifies the filters applied to the widget. When present, the `filters` property displays. Each filter object has two properties: `filterProperty` and `filterValue`. The `filterProperty` can be values like `AGENT`, `ENDPOINT_MACHINE_ID`, `TEST`, `MONITOR`, etc. The `filterValue` represents an identifier array of the selected property. | [optional]
**measure** | [**ApiWidgetMeasure**](ApiWidgetMeasure.md) | | [optional]
**fixed_timespan** | [**ApiDuration**](ApiDuration.md) | | [optional]
**api_link** | **str** | | [optional] [readonly]
**should_exclude_alert_suppression_windows** | **bool** | Excludes alert suppression window data if set to `true`. | [optional]
**links** | [**SelfLinks**](SelfLinks.md) | | [optional]
**type** | **str** | Bar Chart: Grouped widget type. |
**group_by** | [**ApiAggregateProperty**](ApiAggregateProperty.md) | | [optional]
**axis_group_by** | [**ApiAggregateProperty**](ApiAggregateProperty.md) | | [optional]
**sort_by** | [**LegacyWidgetSortProperty**](LegacyWidgetSortProperty.md) | | [optional]
**sort_direction** | [**LegacyWidgetSortDirection**](LegacyWidgetSortDirection.md) | | [optional]
**limit** | **int** | Limit configured in the widget. | [optional]
**show_labels** | **bool** | Displays labels on each bar when set to `true`. | [optional]
**is_horizontal_bar_chart** | **bool** | | [optional]
**data_source** | [**GroupedBarChartDatasource**](GroupedBarChartDatasource.md) | | [optional]
## Example
```python
from thousandeyes_sdk.dashboards.models.api_grouped_barchart_widget import ApiGroupedBarchartWidget
# TODO update the JSON string below
json = "{}"
# create an instance of ApiGroupedBarchartWidget from a JSON string
api_grouped_barchart_widget_instance = ApiGroupedBarchartWidget.from_json(json)
# print the JSON string representation of the object
print(ApiGroupedBarchartWidget.to_json())
# convert the object into a dict
api_grouped_barchart_widget_dict = api_grouped_barchart_widget_instance.to_dict()
# create an instance of ApiGroupedBarchartWidget from a dict
api_grouped_barchart_widget_from_dict = ApiGroupedBarchartWidget.from_dict(api_grouped_barchart_widget_dict)
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)