DataTableTool

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

DataTableTool

Post by Luke » Mon Jun 08, 2009 12:57 pm

Legend

Why when the legend is visible in the datatable on the Left hand side. Is it not possible that the column border always lines up with the Left Axis?

The chart looks messy when first column does not line up wiht the axis

And why is there no auto font size. The Datatable in Excel auto resizes the font to fit


Also when the Labels on the Bottom Axis are multiline the AutoPosition is incorrect. It does not adjust correctly

and yet another bug, when resizing a chart, alternate column texts dissapear????? making the chart bigger doesnt even help. texts flicker on/off

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 Jun 09, 2009 2:52 pm

Hi Luke,
Why when the legend is visible in the datatable on the Left hand side. Is it not possible that the column border always lines up with the Left Axis?

The chart looks messy when first column does not line up wiht the axis
Which TeeChart build are you using? Please notice that important enhancements to DataTableTool functionality were made for last maintenance release. Can you please check if it solves the problem for you? Otherwise, can you please send us an image of the exact problem you are seeing?

You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
And why is there no auto font size. The Datatable in Excel auto resizes the font to fit
I'll add your request to the wish-list to be considered for inclusion in future releases (TF02014227).
Also when the Labels on the Bottom Axis are multiline the AutoPosition is incorrect. It does not adjust correctly
I'm afraid it's a bug which I have added to the list (TF02014228) to be fixed for future releases.
and yet another bug, when resizing a chart, alternate column texts dissapear????? making the chart bigger doesnt even help. texts flicker on/off
I think this is by design. DataTableTool, the same as axes, automatically set as many labels (columns) as can be fitted in provided they don't overlap. Automatic font sizing feature you requested could be an alternative to this behavior.
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

Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

Post by Luke » Tue Jun 09, 2009 3:00 pm

Its just sometimes this auto fitting seems to be very dubiuous. Sometimes there is clearly enough space and yet I lose column texts. Even when I make the Chart wider column texts flash on and off.

Teechart seems to behave better when I add Labels Seperately for bar charts.

If I have 3 series and I add 5 points for each, each with the point in series having the same label, e.g. label1-5. This causes quite a few problems with the bottom axis labelling. If however I add all the points without a labrl. Then add the labels seperately using Axes.Bottom.Labels.Items.Add(pos,Label). The chart behaves better

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 Jun 10, 2009 10:57 am

Hi Luke,

That's because when adding custom labels using Labels.Items.Add you are not using automatic labelling features. Therefore, making the chart smaller should make those labels overlap at some stage.
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

Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

Post by Luke » Wed Jun 10, 2009 11:25 am

but doesnt that mean the automatic labelling functions are slightly buggy?

There seems to be always plenty of space for them but yet some are automatically hidden.

They dissapear when making the chart bigger and not just smaller.

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 Jun 10, 2009 11:35 am

Hi Luke,

Can you please send us a simple example project we can run "as-is" reproducing this?

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

Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

Post by Luke » Wed Jun 10, 2009 11:49 am

just emailed zip to support@steema.com. thx

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 Jun 10, 2009 11:59 am

Hi Luke,

I'm sorry but this e-mail address is obsolete as we don't offer direct e-mail support except for Pro-Support subscribers. Can you please 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

Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

Post by Luke » Wed Jun 10, 2009 12:03 pm

Hi

I need to email it as upload pages get blocked here.

thx

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 Jun 10, 2009 1:21 pm

Hello Luke,

Thanks for your e-mail.
Please see when adjusting form size to smaller or bigger vertically. Labels disappear and reappear.

Even with the default start-up size there should be enough room for all labels. But some are still hidden.
I agree, this is already a known issue we will try to fix for future releases. In the meantime, the only solution I can think of is using custom labels for the left axis as you already mentioned.
Also note when making smaller they also reappear ;-)
I'm not able to reproduce this here using your project. In your project, if I make little changes as shown below and click the chart to make it higher I'm not able to see labels disappearing. Can you please modify the code below so that we can reproduce the issue here?

Code: Select all

        public void InitChart()
        {
            ClearAll();
            tChart.Axes.Visible = true;
            tChart.Walls.Visible = true;
						tChart.Dock = DockStyle.Fill;
						tChart.Click += new EventHandler(tChart_Click);
        }

				void tChart_Click(object sender, EventArgs e)
				{
					this.Size = new Size(this.Size.Width, this.Size.Height + 10);
				}
Thanks in advance.
Tchart should at autofont size property to chart as well as fixing this bug. So that the font size of labels/datatables etc are decreased/increased depending on chart size.
As I told you I already added this request to the wish-list to be considered for inclusion in future releases.
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

Luke
Newbie
Newbie
Posts: 68
Joined: Thu Oct 11, 2007 12:00 am

Post by Luke » Wed Jun 10, 2009 1:25 pm

Ok thx Narcis

Think I will go with adding labels directly to axis as its a easier/cleaner solution than firing an event on the resize.

Please also as I mentioned before this occurs on the bottom axis too.

Post Reply