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

Creating a MarkedZone in standalone designer

1 Answer 71 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Jeremy
Top achievements
Rank 1
Jeremy asked on 19 Feb 2019, 04:31 PM

Hello,

I've created a horizontal bar chart, and the bars go left-to-right from 0-100%.

I would like to display a fixed/static vertical line at 90%, so users can quickly see which lines are over/under 90%.

The solution seems to be a MarkedZone as a single line (not rectangle).   Can you provide assistance on how to set these up in the designer?  I've navigated the properties of the chart as well as my series and cannot find references to MarkedZones.

There is a thread from 2013 that said these aren't possible in the standalone tool, but that user wanted to bind the line to data.  My line is fixed at 90% of the 0-100% range.

If the designer cannot do this at all, but it can be done with an additional series etc, let me know that too.

*many* thanks for any advice you can offer.

-j

1 Answer, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 22 Feb 2019, 11:31 AM

Hi Jeremy,

What you need to do is to add LineSeries from the Graph Properties pane: click on the ellipses beside Series to open the GraphSeries Collection Editor- > Right click on Add -> LineSeries. If you want to set a specific color use the ColorPalette property of the Series. You also have to specify the following fields:

  • CoordinateSystem should be the same as the original (Bar) Series;
  • LineType -> Stepped. This is necessary in order the line to encompass the categories (Y-axis) entirely
  • Data/ SeriesGroup -> may be the same as the already existing static series Group
  • CategoryGroup -> should be the same as the one used for the original Series
  • X -> '=90'. This is the static value, i.e. the threshold where the line should be drawn.

I have attached a report which demonstrates the proposed approach.

Regards,

Neli
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Jeremy
Top achievements
Rank 1
Answers by
Neli
Telerik team
Share this question
or