Page 1 of 1

CLV (Accum/Dist) study error

Posted: Wed Jan 05, 2011 6:12 pm
by 15658023
I am attempting to add a CLV study to my charts. I think I have things set correctly, but the chart control stops with an Overflow error. I have a basic CandleChart in my sample program (attached). This one does not have a volume series, but I have set CLVFunction.Volume = Nothing. In my main program where I found this error, I do have a volume series which is populated with data. In that one, setting the .Volume property has no effect on the error. A partial listing of the error stack trace is shown below. The sample program, with data is attached.

If you can show me where I am setting something incorrectly, I would appreciate it.


System.OverflowException was unhandled
Message=Overflow error.
Source=System.Drawing
StackTrace:
at System.Drawing.Graphics.CheckErrorStatus(Int32 status)
at System.Drawing.Graphics.DrawLine(Pen pen, Int32 x1, Int32 y1, Int32 x2, Int32 y2)
at Steema.TeeChart.Drawing.Graphics3DGdiPlus.Line(Int32 x0, Int32 y0, Int32 x1, Int32 y1)
at Steema.TeeChart.Styles.Custom.DrawPoint(Boolean drawOldPointer, Int32 valueIndex, Int32 x, Int32 y)
at Steema.TeeChart.Styles.Custom.DrawValue(Int32 valueIndex)
at Steema.TeeChart.Styles.Series.Draw()
at Steema.TeeChart.Styles.Custom.Draw()
at Steema.TeeChart.Styles.Series.DrawSeries()
at Steema.TeeChart.Chart.InternalDraw(Graphics g, Boolean noTools)
at Steema.TeeChart.Chart.InternalDraw(Graphics g)

Re: CLV (Accum/Dist) study error

Posted: Mon Jan 10, 2011 11:05 am
by 10050769
Hello dave,

Sorry for the delay. I have reproduce your problem using last version of TeeChart.Net and I have added your request in bug list report with number [TF02015348]. We try to fix it for next maintenance releases of TeeChart.Net.

Thanks,

Re: CLV (Accum/Dist) study error

Posted: Wed Feb 02, 2011 8:37 am
by narcis
Hi Dave,

We have been investigating the issue further and we found that it's not a bug. The solution is setting the TreatNaNAsNull property to true as shown here:

Code: Select all

                line1.TreatNulls = Steema.TeeChart.Styles.TreatNullsStyle.DoNotPaint
                line1.TreatNaNAsNull = True '<-New Line
                line1.CheckDataSource()
                line1.Tag = Func1Tag
Can you please check if this works fine at your end?

Thanks in advance.

Re: CLV (Accum/Dist) study error

Posted: Fri Feb 11, 2011 2:42 pm
by 15658023
Sorry for not responding sooner. I had stopped following this thread once it was designated as a problem in the control.

I tried your solution and it did work for me. Thank you very much.

As far as I know, there is still an issue with the Commodity Channel Indicator study. It was going to be addressed in the next maintenance release. Do you have any estimates on when the next update might be released?

Re: CLV (Accum/Dist) study error

Posted: Fri Feb 11, 2011 3:56 pm
by 10050769
Hello Dave,
As far as I know, there is still an issue with the Commodity Channel Indicator study. It was going to be addressed in the next maintenance release. Do you have any estimates on when the next update might be released?
I can't still provide an estimate date so the last maintenance release appears this week (09 Feb). I recommend you to be aware at this forum, our RSS news feed, twitter and facebook accounts for new release announcements and what's implemented on them.

On the other hand, I have increase severity of bugs (TF02015363) and feature request (TF02015361) so to be reviewed for future versions.

Thanks,

Re: CLV (Accum/Dist) study error

Posted: Tue Apr 19, 2011 1:24 pm
by 10050769
Hello dave,

I inform you that bug with number (TF02015363) is fixed and feature request (TF02015361) is included in new available version there is in Customer download Page

Thanks,