Sha256: f79d366d03c8f8bf4ef12d686c0de158d02a79680b2990ed4e70eb28ed1caa18

Contents?: true

Size: 1.47 KB

Versions: 2

Compression:

Stored size: 1.47 KB

Contents

# DatadogAPIClient::V1::DistributionWidgetDefinition

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **legend_size** | **String** | Available legend sizes for a widget. Should be one of \"0\", \"2\", \"4\", \"8\", \"16\", or \"auto\". | [optional] |
| **requests** | [**Array<DistributionWidgetRequest>**](DistributionWidgetRequest.md) | Array of one request object to display in the widget.  See the dedicated [Request JSON schema documentation](https://docs.datadoghq.com/dashboards/graphing_json/request_json)  to learn how to build the `REQUEST_SCHEMA`. |  |
| **show_legend** | **Boolean** | Whether or not to display the legend on this widget. | [optional] |
| **time** | [**WidgetTime**](WidgetTime.md) |  | [optional] |
| **title** | **String** | Title of the widget. | [optional] |
| **title_align** | [**WidgetTextAlign**](WidgetTextAlign.md) |  | [optional] |
| **title_size** | **String** | Size of the title. | [optional] |
| **type** | [**DistributionWidgetDefinitionType**](DistributionWidgetDefinitionType.md) |  | [default to 'distribution'] |

## Example

```ruby
require 'datadog_api_client/v1'

instance = DatadogAPIClient::V1::DistributionWidgetDefinition.new(
  legend_size: null,
  requests: [{"q":"host:X tags:Y"}],
  show_legend: null,
  time: null,
  title: null,
  title_align: null,
  title_size: null,
  type: null
)
```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
datadog_api_client-1.0.0.beta.3 docs/v1/DistributionWidgetDefinition.md
datadog_api_client-1.0.0.beta.2 docs/v1/DistributionWidgetDefinition.md