New to Telerik ReportingStart a free 30-day trial

Creating Error Bar Style Graphs

Environment

Product Reporting

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.

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.
  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 sample report from our samples repository.

See Also