# Creating Error Bar Style Graphs

## Environment

<table>
<tbody>
<tr>
<td> Product </td>
<td> Reporting </td>
</tr>
</tbody>
</table>

## Description

I am trying to create an error bar style graph in Telerik Report Designer using markers with a vertical bar in the middle and horizontal bars at the top and bottom:

![The final layout of the error bar style graph in the Standalone Report Designer.](https://www.telerik.com/products/reporting/documentation/assets/9c739a70f5e25e0136e91329e9f3c84e/error-bar-style-graph-designer.png)

When using an OHLC chart with `MarkerStyle = CandleStick`, I cannot remove the left and right vertical lines, and with `MarkerStyle = Bar`, the horizontal bars extend only one way each.

This knowledge base article also answers the following questions:

* How to customize OHLC charts for specific marker styles in Telerik Report Designer?
* How to customize LineSeries in Telerik Report Designer?

## Solution

To create an error bar style graph, customize the OHLC chart:

1. Add additional `LineSeries` to the existing OHLC Bars.
2. Use three separate `LineSeries` for the High, Low, and Middle/Average values.
3. Set the `DataPointMarker` property to `Minus` for High/Low and `Circle` for Middle.
4. Ensure only the data markers are displayed by setting `DataPointStyle.Visible` to `True` and `LineStyle.Visible` to `False`. Example:
   ![Set ColorPalette, LineStyle, and DataPointStyle in the GraphSeries Collection Editor of the Standalone Report Designer.](https://www.telerik.com/products/reporting/documentation/assets/0e5c9068cff68f89cfce6d30a3e872d8/graph-series-collection-editor.png)
5. Optionally, set the `ColorPalette` for all Series to `Monochromatic > Black` or any other desired palette to ensure all data points are the same color.

## Download Sample

Test the [ErrorBarStyleGraphReport.trdx](https://github.com/telerik/reporting-samples/blob/master/Sample%20Reports/ErrorBarStyleGraphReport.trdx) sample report from our samples repository.

## See Also

* [OHLC Chart Overview](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/ohlc)
* [Creating and Customizing Scatter Charts](https://www.telerik.com/products/reporting/documentation/report-items/graph/chart-types/scatter)
