Changing marks position after changing chart's height

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
nikitenko@dataart.com
Newbie
Newbie
Posts: 21
Joined: Mon Mar 27, 2006 12:00 am

Changing marks position after changing chart's height

Post by nikitenko@dataart.com » Thu Sep 28, 2006 5:30 pm

Hello All,

Marks change their position after change bar chart's heigth (teechart 2.0.2306.26232):

1) add chart to winform
2) create bar serier in tChart1
3) add several values, some of them should be above zero and some of them below zero

4) As you can see marks for values below zero are located below bar.

5) Now, try to change chart's height, as you can see at some moment some of the mark's for negative values jump up, though there is enough space underneath

Any ideas how I can eliminate that behaviour?

Thanks.

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 Sep 29, 2006 9:09 am

Hello,

I'm not able to reproduce this here using the latest version available at the client area, which is Build 2.0.2456.16162, and the populating series like in the code snippet below.

Code: Select all

            bar1.Add(5);
            bar1.Add(7);
            bar1.Add(-2);
            bar1.Add(-3);
            bar1.Add(-10);
            bar1.Add(2);
            bar1.Add(8);
I added the -10 value so that -2 and -3 have plenty of room for their marks being under the bar. All marks only go up the bar when the chart's height is so small that all bars are almost flat (have no height).

Can you please test if latest version works fine for you? If it doesn't work could you please send us an example project we can run "as-is" or some code so that we can reproduce the problem here? You can post your files at news://www.steema.net/steema.public.attachments newsgroup.

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

Post Reply