Jump to content
Software FX Community
Sign in to follow this  
jarbas@cemi.eng.br

How do I eliminate these steps and make all curves continuous?

Recommended Posts

My application creates the graphics curves in the same way but
some curves have steps and others show interpolated curves.

How do I eliminate these steps and make all curves continuous. ?

 

CHART.png

Edited by jarbas@cemi.eng.br
writing error

Share this post


Link to post
Share on other sites

In order to find out if you are doing something wrong or if there is a bug in our code we will need a repro case.

Regards,

JuanC

Share this post


Link to post
Share on other sites

hi Juan.

thanks for your answer.

It is a very large application and difficult to replicate.

This next screen is the same data presented by a previous compilation of the source code.

Note: No source lines for the graphic parts have been changed.

But inexplicably the lines started to appear without interpolation following a zero order holder pattern.

what property controls this?

 

I tried using this.

chart1.Series.Gallery = Gallery.Lines;

 

CHART.jpg

Edited by jarbas@cemi.eng.br
writing error

Share this post


Link to post
Share on other sites

This sets all series to be painted as lines, even if before in the code you are setting a specific series to be painted as a different gallery

chart1.AllSeries.Gallery = Gallery.Lines;

--

This sets a specific gallery to be painted as curves, it will overwrite previous assignments to AllSeries.Gallery for this particular series

 

chart1.Series[someIndex].Gallery = Gallery.Curve;

--

This means if you want all but one of the series to be painted as Bars and the remaining one as Lines, you should first set AllSeries and then the specific series.

Regards,

JuanC

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. 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.

Loading...
Sign in to follow this  

×
×
  • Create New...