This is a migrated thread and some comments may be shown as answers.

How to set a target line in column chart

1 Answer 33 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
n/a
Top achievements
Rank 1
n/a asked on 05 Feb 2021, 08:35 PM

Is there any way to set a target line in a column chart? In the attached image, I have an additional line chart inside of the column chart and changed the data point style to make it a longer line. Ideally I would like it to span across the full chart.

 

Thanks for your help.

1 Answer, 1 is accepted

Sort by
0
Mads
Telerik team
answered on 10 Feb 2021, 02:01 PM

Hello Spencer,

I believe we have a solution to create the graph you want. Below you can see a screenshot from a report I created with the resulting target-line

The report with the graph from the picture above is attached to this reply. I will explain the steps needed to add this line

  1. Open up the Series editor for the graph by clicking the little button with '...' inside the properties.
  2. Add a new lineSeries
  3. Set the following properties of the new lineSeries
    1. LineType: Stepped (this will make the line reach from start to end of the xAxis)
    2. CoordinateSystem, CategoryGroup and SeriesGroup to the same values as the existing barSeries(should be only one choice)
    3. Y: = 0,8 or the value you want as a target
    4. Value: The title/legend you want to be displayed next to the graph to explain what the line is

Does this result in the graph you want? The setup might depend slightly on how your already existing graph is set up. Let me know if it works out, if you run into challenges, or have any other questions.

Regards, Mads Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Report Designer (standalone)
Asked by
n/a
Top achievements
Rank 1
Answers by
Mads
Telerik team
Share this question
or