TomG
TomG

Reputation: 483

SSRS Line Chart: Adding an Average/Target line to Line Chart

I'm sure I'm missing something obvious but it has so far eluded me.

My current report:

current

My preferred report:

In my perfect world, there wouldn't even be a line, just a change in background colour above and below where the line would be. I haven't been able to find a pretty example of what I am talking about so instead I have produced this hideous travesty in ms paint:

travesty

Any help gratefully received!

Upvotes: 1

Views: 2740

Answers (2)

Trubs
Trubs

Reputation: 3032

Can change all of that information/treatment by modifying the series.

Firstly change the Chart Type of the series to Area enter image description here

Which gives you something like....

enter image description here

All other settings you mention can be done in the series properties

eg

  1. Right Click Series, Select Properties, Legend, Check the box marked [Do not show this series in the legend]
  2. Set the Action (in series properties) to None
  3. Set the markers as you want

Upvotes: 1

TomG
TomG

Reputation: 483

I have achieved partial success using the StripLines property for the Y Axis:

partial

Screenshot of setting:

settings

  • I added a Member then changed the BackgroundColor and StripWidth.

  • The StripWidth determines the height of the shaded area and can be an expression.

Upvotes: 0

Related Questions