Jump to content

Create highlighted area between two chart lines


mdettm
Go to solution Solved by mdettm,

Recommended Posts

I am looking for a way to create a chart visualization that has a shaded (colored in grey) area between two lines (e.g. area between a Target Minimum and Target Maximum).  Example data and simple chart below.  The combo chart example attached uses all three values (Actual Value, Target (Min), and Target (Max)), but I'd rather not have three values in the Legend and only have Target area (the grey area) and Actual Value.  Any ideas on how to accomplish this in a Spotfire chart visualization?

   image.png.bcc4d84f7fb6d3bc991df0088e3fff6e.png

image.png.a19d718e88981745483ff10d016ef03a.png

Link to comment
Share on other sites

Hi Mark,

In the attached file, you can see what Spotfire can deliver out of the box, given your data example.

There is also a way of 'real' shading in a scatter plot, if you have both axis set up as numbers. But in your case, we sticked to the Actual Value by Month, resulting in having the min and max limits displayed as the highlighted area.

Kind regards,

David

Spotfire Forum Shading example.dxp

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...