Problem with ColorLine.Value

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
AgileSoft s.c.
Newbie
Newbie
Posts: 7
Joined: Mon Jun 02, 2008 12:00 am

Problem with ColorLine.Value

Post by AgileSoft s.c. » Wed Oct 22, 2008 1:07 pm

Hello!

I have another problem, this time with ColorLine.Value property.
I'm trying to scroll chart and set ColorLine.Value property in procedural code.

the problem is ColorLine position on chart is not that one I set. Attach. (on news group) ilustates my problem. To reproduce it try this sequence:
- fire project :)
- click Big button bellow chart (ColorLine should be on center of chart)
- move mouse over chart (to generate MouseEnter event - i suppose)
at last step ColorLine will be move where i want to set it...

is any way to force in procedural code this change?

Im using TeeChart.WPF from
TeeChart.NET version 3
Release Notes 23rd September 2008
TeeChart.NET version 3
Build 3.5.3188.18562
installation

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

Post by Narcís » Wed Oct 22, 2008 1:28 pm

Hi AgileSoft s.c.,

Thanks for the example project but I still don't understand which is the exact problem you have. Could you please give us some more details? It may also help if you attach an image of the chart you get.

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

AgileSoft s.c.
Newbie
Newbie
Posts: 7
Joined: Mon Jun 02, 2008 12:00 am

Post by AgileSoft s.c. » Wed Oct 22, 2008 1:37 pm

sample project "as-is" was posted on new group
- Button.Click event service changes ColorLine position on chart by setting Value property.
efect of this change is visible after you hover mouse over chart component, but not immediately (in event service code).

to make change visible immediately I need some refresh?

ps. is hard to show it on images.. movie is good option :P

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

Post by Narcís » Wed Oct 22, 2008 1:46 pm

Hi AgileSoft s.c.,

Thanks for the information.

CursorTool's position is automatically refreshed when running button's code for me here. I'm using our current TeeChart.WPF sources so you may expect this to work fine in next maintenance release.

In the meantime you can try calling chart's Invalidate method after setting cursor's value.
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