# <a id="bitdrift.public.unary.charts.v1.HistogramConfiguration"></a>HistogramConfiguration

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

<section class="proto-fields-table" markdown>
| Field | Type | Description |
|---|---|---|
| percentile | <span class="proto-type proto-type-primitive">float</span><br><em class="proto-field-annotation">between 0 and 1</em> | Pins the histograms within this chart to a specific percentile. This is  required for charts that have histograms with a top-K grouping because we  do not support querying the Cartesian product of (values, percentiles)  with top-K.   This must be set to one of the percentiles in the ChartMetadata for the  chart if percentiles are defined. |
| percentiles | <span class="proto-type proto-type-primitive">array of float</span><br><em class="proto-field-annotation">up to 20 items, items between 0 and 1</em> | Percentiles to query when the chart supports returning multiple histogram lines. |

</section>
<p class="h4">Example</p>
```json
{
  "percentile": 1.0,
  "percentiles": [
    1.0
  ]
}
```

