Search found 23 matches
- Wed Jul 25, 2012 1:37 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
I had missed your Button3 code in that sample you created. I dropped in a new button to be able to use it and saw the same thing you experienced, no problem blowing out the Selector tool. I wonder if it has to do with the properties that I am setting when creating a Bollinger Band study. It could be...
- Mon Jul 23, 2012 7:12 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
It looks like it may have to do with the frequency of updates. I made your timer interval adjustible. Once it starts updating fast, things spike. Memory usage cycles higher and higher until it stops. When I run the chart without Bollinger Bands updating, the CPU usage and memory appear stable. If I ...
- Wed Jul 18, 2012 3:10 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
Thank you, Sandra. One more question, are you looking in to the problem where activating the selection tool when that study is open causes the program to blow out? In the case of the Bollinger Band study, after you activate a selector tool and then move the mouse cursor into the chart client rectang...
- Tue Jul 17, 2012 7:26 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
Was this addressed in the June maintenance release? I did not see the ticket number in the updates file.
- Fri Jun 29, 2012 5:37 pm
- Forum: .NET
- Topic: Red cross will be drawn sometimes
- Replies: 9
- Views: 13706
Re: Red cross will be drawn sometimes
What I have found regarding writing to (or even reading from) the screen from a background thread is that it may work. The problem is, over time the system will slowly degrade and may ultimately fail. Even if such cross threaded ooperations appear to be working, one should really try to avoid them.
- Thu Jun 28, 2012 1:38 pm
- Forum: .NET
- Topic: Red cross will be drawn sometimes
- Replies: 9
- Views: 13706
Re: Red cross will be drawn sometimes
When I have seen the TeeChart control throw an error, the stack trace usually includes references to the teechart object. In your case it is pointing to a different object, some DevExpress edit box or something. My first guess at the cause would be a cross threaded attempt to write text to a screen ...
- Wed Jun 27, 2012 3:53 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
I just uploaded a file to you using your Steema Software Support - Upload File page. The file is named TeeChartSandbox-DaveR.zip. It contains a VS2010 vb.net project that loads data from a text file and then starts a timer that adds random price data to the chart. It is basically a 1-minute bar char...
- Mon Jun 25, 2012 2:11 pm
- Forum: .NET
- Topic: Red cross will be drawn sometimes
- Replies: 9
- Views: 13706
Re: Red cross will be drawn sometimes
This response is from a user, not Steema... In Sub New in the main window in your program add handlers for the events shown below. Send the stack trace to a file when either fires. You will most likely see the type of error and the subroutine in TeeChart that caused it. With that info, Steema will b...
- Thu Jun 21, 2012 1:23 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
I found another study that seems to be sensitive the the Selector Tool. If I add one of these to a chart: Dim AD1 As New Steema.TeeChart.Functions.CLVFunction And then activate a selection tool, when I click the line in the function the chart turns white with a big X through it. The stack trace show...
- Wed Jun 20, 2012 4:10 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
I do have a follow-up question about updating the chart. Since I do not have AutoRepaint = True, after I update the last bar or add a new bar I have to call tChart.Refresh to force the chart to redraw. After that I see every series loop through the entire span of data. If I have 20K minute bars in t...
- Wed Jun 20, 2012 2:23 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Re: Tech Study CPU issue
This happens on many different machines, basically all customers who have it, customer support machines, and my own. My machine is a Win 7 Pro 64-bit with 8GB of RAM, I7 Processor, huge video card, huge drives, etc. I am compiling with Visual Studios 2010, .Net Framework 4, in 32-bit format. I am us...
- Tue Jun 19, 2012 2:40 pm
- Forum: .NET
- Topic: Tech Study CPU issue
- Replies: 17
- Views: 23608
Tech Study CPU issue
In later copies of the TeeChart dll I have noticed a tendency for studies to draw OK, but as you keep adding market data to them, the memory and CPU usage starts spiking. I have removed MACD and ADX from the chart and am in the process of writing my own. Even Bollinger Bands is doing this. Sorry, th...
- Thu Jun 07, 2012 1:49 pm
- Forum: .NET
- Topic: Font Error
- Replies: 4
- Views: 7580
Re: Font Error
Here is a quick followup to my other reply. There is a function called IsStyleAvailable that can be used to test for this issue prior to trying to set the font. Public Sub IsStyleAvailable_Example(ByVal e As PaintEventArgs) ' Create a FontFamily object. Dim myFontFamily As New FontFamily("Arial") ' ...
- Thu Jun 07, 2012 1:35 pm
- Forum: .NET
- Topic: Font Error
- Replies: 4
- Views: 7580
Re: Font Error
Thank you for your suggestion. I will certainly change that default font. I had seen the TChart.DefaultFonts property, but it was read only. In my code, the first thing I did was set fonts for the title, axes, etc. to Arial. That still did not fix the problem. Hopefully, the Texts setting will work....
- Tue Jun 05, 2012 4:30 pm
- Forum: .NET
- Topic: Font Error
- Replies: 4
- Views: 7580
Font Error
When my charting application encounters problems it records the call stack in a file and eventually sends that error message to me. Periodically I see errors coming through from customers that are the result of setting a font. It seems that, say, the Verdan font on one machine is not exactly like th...