Search found 17 matches

by dimitrig
Mon Apr 26, 2010 3:47 pm
Forum: .NET
Topic: Change of behavior: axis offset
Replies: 2
Views: 4738

Re: Change of behavior: axis offset

Btw... while playing along a little bit more (with Reflector), I found the culprit. Volume inherits from CustomPoint. Apparently there you override the CalcHorizMargins(ref int, ref int, ref bool). The last parameter can force to reset the Minimum- and MaximumOffset of an axis. Something must has ch...
by dimitrig
Mon Apr 26, 2010 3:30 pm
Forum: .NET
Topic: Change of behavior: axis offset
Replies: 2
Views: 4738

Change of behavior: axis offset

Hi, I recently noticed that the MinimumOffset and MaximumOffset of an axis do not behave the same anymore. That is when using it in combination with a Volume series. I'm using the latest stable TeeChart v3 release btw. Now when you have a Volume series on your chart, the offset of the axes do not wo...
by dimitrig
Mon Apr 19, 2010 3:17 pm
Forum: .NET
Topic: CursorTool on Smith: horizontal and vertical line gone
Replies: 1
Views: 3686

CursorTool on Smith: horizontal and vertical line gone

Hi, I noticed that in the last version of TeeChart v3, the horizontal and vertical line of a cursor added on a smith chart, is no longer drawn. The only thing that is drawn on top of a smith series, is the scope (if you set the style to Scope or ScopeOnly). You can easily reproduce this by just crea...
by dimitrig
Thu Mar 18, 2010 12:59 pm
Forum: .NET
Topic: How to adapt the chart rect in a tool?
Replies: 8
Views: 10149

Re: How to adapt the chart rect in a tool?

Hi Narcís,

Wow... thanks!

Do you think you can make this change also available in v3? We currently stick with this version. Probably we will migrate to 2009 or later version in the future, when the right time is there, but currently we do not plan to upgrade.

kind regards,
Dimitri
by dimitrig
Wed Mar 17, 2010 10:36 pm
Forum: .NET
Topic: How to adapt the chart rect in a tool?
Replies: 8
Views: 10149

Re: How to adapt the chart rect in a tool?

Hi Narcís, Thanks for the response. I've been using SubChart tools for this purpose already in the past. The main problem is that a subchart is also overlapping with the main chart. The SubChart tool is not reducing the ChartRect of the main chart as well. You have to specify absolute position and s...
by dimitrig
Wed Mar 17, 2010 4:19 pm
Forum: .NET
Topic: How to adapt the chart rect in a tool?
Replies: 8
Views: 10149

Re: How to adapt the chart rect in a tool?

Hi Narcis, CustomChartRect could indeed be a solution, but for a static scenario. Here I want to have dynamic control from a tool you add to the chart. Each time the chart is drawn, the tool reserves some place on the chart to draw his things. He can do this by adapting the chart rect, as you alread...
by dimitrig
Wed Mar 17, 2010 10:53 am
Forum: .NET
Topic: How to adapt the chart rect in a tool?
Replies: 8
Views: 10149

How to adapt the chart rect in a tool?

Hi, I am developing a custom tool for TChart.NET. I would like to know how I can make the tool resize the chart rectangle. Suppose I want to auto-position the tool on my chart, and have it next to the chart for example on the right. Then I would like the normal chart to shrink down its ChartRect by ...
by dimitrig
Thu Mar 11, 2010 10:34 am
Forum: .NET
Topic: Exception when changing MDIParent with TeeChart
Replies: 9
Views: 15637

Re: Exception when changing MDIParent with TeeChart

Hi Christopher, Thanks for the explanation about this part. I now get where the problem is coming from, and what my options are. I have inherited from TChart with my own class, and I can override the OnPaint method. In that method I will cache the MDIParent. When I see that it has changed, I will cl...
by dimitrig
Wed Mar 10, 2010 11:40 am
Forum: .NET
Topic: Exception when changing MDIParent with TeeChart
Replies: 9
Views: 15637

Re: Exception when changing MDIParent with TeeChart

Hi Yeray, I think you possibly misunderstood me. As far as I can see it is the TeeChart buffer that is causing this. When I use the integrated windows buffers, I have no exceptions and there is no problem. So they don't have the problem. When I use the TeeChart buffer (the one your company specifica...
by dimitrig
Fri Mar 05, 2010 6:58 pm
Forum: .NET
Topic: SubChart problem in latest release
Replies: 5
Views: 8074

Re: SubChart problem in latest release

Hi, Yeah... I even went to the latest version v3 version now (3.5.3700.30575). Every time I run this app, then just maximize the form, I get the exception. You should be able to just see it when you run the WindowsApplication1.exe in the bin\Debug folder (I uploaded a new version with more recent Te...
by dimitrig
Fri Mar 05, 2010 6:41 pm
Forum: .NET
Topic: Exception when changing MDIParent with TeeChart
Replies: 9
Views: 15637

Re: Exception when changing MDIParent with TeeChart

Hi Yeray, You are correct again, but it still is a performance killer if we do this. We have a test application to monitor the speed of the charts (plotting several plot updates with 1M points and more). If I run this speed test with the optimized buffer of TeeChart, it does it in 8.5 sec, which is ...
by dimitrig
Fri Mar 05, 2010 4:01 pm
Forum: .NET
Topic: Exception when changing MDIParent with TeeChart
Replies: 9
Views: 15637

Re: Exception when changing MDIParent with TeeChart

Hi Yeray, You are correct that this removes the exception. Now, I do not want to disable buffering, since this will cause other side-effects in my graph I assume (e.g. slower drawing and/or flickering). We are using this in a real-time application with lots of charts and lots of data points and curs...
by dimitrig
Thu Mar 04, 2010 12:23 pm
Forum: .NET
Topic: Exception when changing MDIParent with TeeChart
Replies: 9
Views: 15637

Exception when changing MDIParent with TeeChart

Hi, I have a problem with TeeChart v3. Currently I'm using version 3.5.3498.27367. I assume it will also be a problem in the newer v3 version and/or version 2009. You can download a demonstrator project from my webspace http://users.edpnet.be/avathar/NMDG/TeeChartProblem%20Changing%20Parent%20Form.z...
by dimitrig
Wed Dec 23, 2009 3:32 pm
Forum: .NET
Topic: SubChart problem in latest release
Replies: 5
Views: 8074

Re: SubChart problem in latest release

Hi, Indeed. I know of the LegendPalette, but we need more flexibility, so that's why I developed a custom legend around a subchart. I tried the latest version of TeeChart now, and the problem is still in there. The main source code was already in my first post. I uploaded a complete copy with soluti...
by dimitrig
Fri Nov 06, 2009 1:43 pm
Forum: .NET
Topic: SubChart problem in latest release
Replies: 5
Views: 8074

SubChart problem in latest release

I installed the latest version of TeeChart v3 recently (3.5.3575.14456). Since then I have an exception in my application, from the moment I use a SubChart and the size needs to be adapted. In our application, we use a subchart that is always positioned on the right side next to our main chart, whic...