# <a id="bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse"></a>HistogramBarChartResponse

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L276-L319`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L276-L319>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| per_time_series | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">dashboards</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">HistogramBarChartResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">PerTimeSeries</i>](#bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.PerTimeSeries "bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.PerTimeSeries")</span> | Histogram data for each time series in the chart. |

</section>
<p class="h4">Example</p>
```json
{
  "per_time_series": [
    {
      "cardinality_overflows": {
        "group_by_overflows": 1,
        "query_group_by_collapsed": false,
        "total_overflows": 42
      },
      "dimension_names": [
        "app_id"
      ],
      "per_group_by": [
        {
          "buckets": [
            {
              "begin": 1.0,
              "count": 42,
              "end": 1.0
            }
          ],
          "dimensions": [
            "country"
          ],
          "unique_devices": 1
        }
      ],
      "title": "Chart title"
    }
  ]
}
```

# <a id="bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.Bucket"></a>HistogramBarChartResponse.Bucket

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L277-L286`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L277-L286>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| begin | <span class="proto-type proto-type-primitive">double</span> | The beginning of the range for this bucket, inclusive. |
| end | <span class="proto-type proto-type-primitive">double</span> | The end of the range for this bucket, exclusive. |
| count | <span class="proto-type proto-type-primitive">uint64</span> | The count of values that fall within this bucket's range. |

</section>
<p class="h4">Example</p>
```json
{
  "begin": 1.0,
  "count": 42,
  "end": 1.0
}
```

# <a id="bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.PerGroupBy"></a>HistogramBarChartResponse.PerGroupBy

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L288-L297`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L288-L297>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| dimensions | <span class="proto-type proto-type-primitive">array of string</span> | The value of the dimension that this group represents. |
| buckets | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">dashboards</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">HistogramBarChartResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">Bucket</i>](#bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.Bucket "bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.Bucket")</span> | The list of buckets for this histogram bar chart. |
| unique_devices | <span class="proto-type proto-type-primitive">optional uint64</span> | The unique devices for the entire table based on the TrackUnique configuration. |

</section>
<p class="h4">Example</p>
```json
{
  "buckets": [
    {
      "begin": 1.0,
      "count": 42,
      "end": 1.0
    }
  ],
  "dimensions": [
    "country"
  ],
  "unique_devices": 1
}
```

# <a id="bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.PerTimeSeries"></a>HistogramBarChartResponse.PerTimeSeries

**Source definition:** [`src/bitdrift/public/unary/dashboards/v1/api.proto#L299-L315`](<https://github.com/bitdriftlabs/api/blob/main/src/bitdrift/public/unary/dashboards/v1/api.proto#L299-L315>)

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| dimension_names | <span class="proto-type proto-type-primitive">array of string</span> | Headers for the columns of each group by field (for example, "country", "device_type",  etc.). If there are no group by fields this will be empty. |
| title | <span class="proto-type proto-type-primitive">string</span> | The title of the histogram data, which is derived from the TimeSeries title in the rule chart  config. |
| cardinality_overflows | <span class="proto-type proto-type-message">[<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">shared</i><i class="proto-type-dot">.</i><i class="proto-type-part">workflows</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">CardinalityOverflows</i>](bitdrift_public_shared_workflows_v1_CardinalityOverflows.md "bitdrift.public.shared.workflows.v1.CardinalityOverflows")</span> | The total count of cardinality overflows for this time series that occurred during the  query time period. |
| per_group_by | <span class="proto-type proto-type-message">array of [<i class="proto-type-part">bitdrift</i><i class="proto-type-dot">.</i><i class="proto-type-part">public</i><i class="proto-type-dot">.</i><i class="proto-type-part">unary</i><i class="proto-type-dot">.</i><i class="proto-type-part">dashboards</i><i class="proto-type-dot">.</i><i class="proto-type-part">v1</i><i class="proto-type-dot">.</i><i class="proto-type-part">HistogramBarChartResponse</i><i class="proto-type-dot">.</i><i class="proto-type-part">PerGroupBy</i>](#bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.PerGroupBy "bitdrift.public.unary.dashboards.v1.HistogramBarChartResponse.PerGroupBy")</span> | A set of buckets for every group by combination for this time series. If there are no group  by fields, there will be a single entry in this list. |

</section>
<p class="h4">Example</p>
```json
{
  "cardinality_overflows": {
    "group_by_overflows": 1,
    "query_group_by_collapsed": false,
    "total_overflows": 42
  },
  "dimension_names": [
    "app_id"
  ],
  "per_group_by": [
    {
      "buckets": [
        {
          "begin": 1.0,
          "count": 42,
          "end": 1.0
        }
      ],
      "dimensions": [
        "country"
      ],
      "unique_devices": 1
    }
  ],
  "title": "Chart title"
}
```

