Jump to content
Software FX Community

Newbie Question: How to create a Range with an Area Chart


Olli

Recommended Posts

Hi Everybody,

 within the documentation you can see some examples for area charts:

Posted Image

Right in the middle you can see a so called Range-Chart. For my understanding this will be reached by using an Area-Chart an passing two y-Values. Maybe it would also be possible to define two lines, glue them and fill the space between it. Also at the combination gallery you can see such a range with additional lines.

My question to this is quite simple:

How to achieve this with ChartFX? After reading the documentation and playing with the series i really don't find the right clue.

Best regards,

Oliver

Link to comment
Share on other sites

The easies way it to use the Wizard. In the Gallery Section select Area nd the "Polygon".

Then go to "Adjust Data To Chart" and select the fields for the bottom (From) and top (To) of your strip.

 In code, this can be achieved by using:

chart.Data.YFrom[i,j] = lowerValue;

chart.Data.Y[i,j] = higherValue;

Or if you are doing databinding (the way the wizard does it) simply add a FieldMap with Usage = FieldUsage.FromValue.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...