Page 1 of 1

Fast Horizontal Line

Posted: Tue Apr 03, 2012 12:00 pm
by 13048623
Is there a way to get the speed of a FastLine series on a HorizontalLine series? I saw a couple of posts on the subject, but they didn't seem like real solutions to me. Am I missing something? My chart must be Vertically oriented and use a HorizontalLine series. I currently am doing this using HorizLine.Add(Array) method. It works fine, but the chart must be "Cleared" before each Add() function and it seems that is costing a huge amount of time. I have looked at the High Speed charting documentation and I think I have tried all available tweaks. Any ideas on how to get my HorizLine working at the fastest possible speed?

thanks.

Re: Fast Horizontal Line

Posted: Tue Apr 03, 2012 3:16 pm
by 10050769
Hello KevL,

I think a good solution for you is use a TeeChart.Net DirectD that is included in your product of TeeChartFor.Net. If you use it, you can get more performances of you applications as explain in here.

Thanks,

Re: Fast Horizontal Line

Posted: Tue Apr 03, 2012 4:28 pm
by 13048623
Looks interesting. Not sure where to find it though. Do I need to install this into my Visual Studio?

Re: Fast Horizontal Line

Posted: Wed Apr 04, 2012 9:08 am
by 10050769
Hello KevL,

When you download the TeeChartFor.Net the installer have included the different assemblies and including the TeeChart.Direct2D.dll. Also, you can take a look in the Direct 2D Demo to check as it works. On the other hand, if you have readed the White Paper where you can see that to run this example you will need to install SlimDX and be working on a Direct2D compatible operating system (Windows Vista, Windows 2008, Windows 7).

I hope will helps.

Thanks,

Re: Fast Horizontal Line

Posted: Wed Apr 04, 2012 1:37 pm
by 13048623
I installed SlimDX and can load the example, but get Errors when trying to compile.
1. The name Matrix3x2 does not exist in the current context.
2. Metadata file ......GraphicsControl\bin\Debug\GraphicsControl.dll could not be found.

I looked in the zip file from the example and there is no dll and if I try to compile the "GraphicsControl" project, I get the error above.

Kev

Re: Fast Horizontal Line

Posted: Wed Apr 04, 2012 2:24 pm
by 10050769
Hello Kev,

Could you check if Direct2D demo project compile? You can find the file in the similar path as next:
C:\Program Files\Steema Software\Steema TeeChart for .NET 2012 4.1.2012.02280\Examples\DemoProjectDirect2D


If demo project compiles, but your project not, please check if in your project there are the references of TeeChart.Direct2D.dll and TeeCahrt.dll. If your references are correct please, send us your project so we can try to solve your problem here. On the other hand, If you have the same problems with Direct2D Demo project please, tell us whats OS and IDE you use.

Thanks,

Re: Fast Horizontal Line

Posted: Wed Apr 04, 2012 2:51 pm
by 13048623
Trying to compile the Graphics Demo I get this from VisualStudio 2010...

------ Build started: Project: GraphicsControl, Configuration: Release Any CPU ------
D:\Download\TeeChart\SlimDX\GraphicsPerformance\GraphicsPerformance\GraphicsControl\CanvasDirect2D.cs(62,28): error CS0103: The name 'Matrix3x2' does not exist in the current context

Compile complete -- 1 errors, 0 warnings
------ Build started: Project: WinFormApp, Configuration: Release x86 ------
error CS1705: Assembly 'GraphicsControl, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'SlimDX, Version=4.0.13.43, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9' which has a higher version than referenced assembly 'SlimDX, Version=2.0.13.43, Culture=neutral, PublicKeyToken=b1b0c32fd1ffe4f9'

Compile complete -- 1 errors, 0 warnings
c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Microsoft.Common.targets(1360,9): warning MSB3247: Found conflicts between different versions of the same dependent assembly.
========== Build: 0 succeeded, 2 failed, 2 up-to-date, 0 skipped ==========

Re: Fast Horizontal Line

Posted: Wed Apr 04, 2012 3:04 pm
by 13048623
Well, I suspect that it could be due to the fact that I am using TeeChart ver 3. at the moment!

I have not wanted to upgrade for fear of breaking something in several stable projects.

Re: Fast Horizontal Line

Posted: Thu Apr 05, 2012 8:36 am
by 10050769
Hello KevL,

You only can use TeeChartDirect 2D in last version of TeeChartFor.Net (version 4). On the other hand, I confirm that the last version of TeeChartFor.Net is compatible for old versions and supposed a qualitative improvement for the performance, features and products, that help you achieve the satisfactory results for your applications. I recommend you, if you want check your applications works fine using version 4 I recommend download the Eval version as you find here. If you have any problems, please let me know.

Thanks,