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)
CLV (Accum/Dist) study error
CLV (Accum/Dist) study error
- Attachments
-
- Form1.zip
- (11.04 KiB) Downloaded 362 times
Re: CLV (Accum/Dist) study error
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,
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,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: CLV (Accum/Dist) study error
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:
Can you please check if this works fine at your end?
Thanks in advance.
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
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: CLV (Accum/Dist) study error
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?
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
Hello Dave,
On the other hand, I have increase severity of bugs (TF02015363) and feature request (TF02015361) so to be reviewed for future versions.
Thanks,
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.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?
On the other hand, I have increase severity of bugs (TF02015363) and feature request (TF02015361) so to be reviewed for future versions.
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: CLV (Accum/Dist) study error
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,
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,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |