How to create vertical line in histogram chart

Hi everyone I’m using grafana 9.1.2
I would like to create histogram chart with “red vertical line” but I have not seem histogram chart have this feature.

Welcome to the grafana community forum :grafana: @sittichost

at the moment this feature has not been implemented yet.
although, histograms are still in beta phase.

i’d advise you to enter the open discussion so the team that develops this visualisation knows about your interest in having annotations in histograms.

Maybe you might want to look at apache eChart plugin for grafana.

https://echarts.apache.org/v4/examples/en/index.html#chart-type-bar

@mikhailvolkov might also have an idea.

1 Like

It’s possible to do this with Apache ECharts. It’s called markLine like in the example.

@yosiasz You provided v4 examples, which are dated. We also migrated many examples to Grafana on https://echarts.volkovlabs.io available in the Edit mode. It’s an excellent way to start using Apache ECharts.

1 Like

We recently developed an open-source SPC Histogram panel with exactly this functionality. You can add custom or pre-calculated control lines, and even overlay a bell curve. Check it out: SPC Histogram plugin for Grafana | Grafana Labs