Null values and cursor behaviour

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
montekristo
Newbie
Newbie
Posts: 2
Joined: Mon Oct 16, 2006 12:00 am

Null values and cursor behaviour

Post by montekristo » Thu Apr 12, 2007 12:14 pm

Hello

I am upgrading a VB6 application which is using the activex version
of the TChart control. This application is using a vertical vector
which when it is moving shows the underneath values of the fast lines
series of chart. The chart is a simple two axis chart, with date time values
on the horizontal axis and double values on the vertical, being populated
always with fast line series.

The behaviour I want to achieve in a .net 2.0 app which is using the
latest version of the .net TChart release, is to have the cursor
ignoring the time spaces in which no value exists and not just showing
null values but not even allowing the cursor to move on these spaces.

This is the behaviour of the previous app and I am wondering why
I cannot achieve the same effect in the .net version. Is this possible?

And finally, the application is depending on a functionality which allows
the user to select a date time range for which he wishes to see data.
In order to achieve possible not existant values in the beginning and
the end of the requested date ranges I am populating the chart with
null values (creating and passing to the fast lines an array of
precalculated length with null values). Is there another more "efficient"
way to achieve this effect ? Is it possible for this to be the reason
for not being able to achieve the behavior I described above?

kind regards
Menelaos

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Apr 13, 2007 3:10 pm

Hi Menelaos,

Could you please send us a simple example project using TeeChart Pro ActiveX and another one using TeeChart for .NET so that we can reproduce the problem you report here?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

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
Image Image Image Image Image Image
Instructions - How to post in this forum

montekristo
Newbie
Newbie
Posts: 2
Joined: Mon Oct 16, 2006 12:00 am

Cannot upload the application

Post by montekristo » Tue May 08, 2007 1:46 pm

Hello again.

Can you give any sample code which may reproduce-simulate
the proble ?
I want to be able to control programmatically the showing date range
being defined by the tchart. Either a day for example or other
date range. This date range is being defined by the user.
The problem is that it is not sure that data will exist for the whole
date range being defined by the user.
In order to simulate the date ranges in the beginning and the
end of the selection for which data do not exist I add to the series
arrays with the appropriate length with null values.

This though is causing me a lot of trouble, because at the same time
I want to provide zooming functionality along with tha ability to show
the values in the specific -simulated- date range when the cursor
passes over a specific point.

Do you have any suggestion in order for this to be achieved
except from using array with null values before and after the loading
of the actual data?


kind regards
Menelaos

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue May 08, 2007 2:00 pm

Hi Menelaos,

There's an example of something similar to what you request at All Features\Welcome !\Chart styles\Financial\Candle (OHLC)\Axis Labels no Weekends in the features demo. The demo can be found at TeeChart's program group.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply