Datatable not showing all data depending on chart size

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Captell
Newbie
Newbie
Posts: 65
Joined: Fri Sep 18, 2009 12:00 am

Datatable not showing all data depending on chart size

Post by Captell » Tue Aug 02, 2011 9:31 pm

I'm using release 4.1.2011.07280 but this problem also occured in release 4.1.2010.9280.

I've created a chart which includes a data table but the data in the datatable only correctly displays when the chart is small or very large.

This image is of the chart not showing all the data in the datatable.
tchartMissing.PNG
tchartMissing.PNG (29.62 KiB) Viewed 17179 times
If I resize the chart by dragging the window eventually the missing data appears, also, If I make the chart very large (i.e. drag the window across two screens) the data appears.
tchartdatatablecorrect.png
tchartdatatablecorrect.png (17.52 KiB) Viewed 17168 times
This is rather urgent as I have a client that wants to use this feature and doesn't like the small charts.

Cheers..

Adrian.
Adrian Heald
Director
ITSM Reporting Services Pty Ltd
http://www.reportingservices.com

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Datatable not showing all data depending on chart size

Post by Sandra » Wed Aug 03, 2011 1:55 pm

Hello Adrian,

Using last version 4.1.2011.07280 and next code:

Code: Select all

        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }
        Steema.TeeChart.Styles.Bar bar1, bar2, bar3, bar4;
        Steema.TeeChart.Tools.DataTableTool datatabletool1;
        private void InitializeChart()
        {
            tChart1.Aspect.View3D = false;
            tChart1.Dock = DockStyle.Fill;
            bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            bar3 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            bar4 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            Random rnd = new Random();
            for (int i = 0; i < 10; i++)
            {
                bar1.Add(i, rnd.Next(100));
                bar2.Add(i, 0);
                bar3.Add(i, 0);
                bar4.Add(i, rnd.Next(100));
            }
            bar1.Marks.Visible = false;
            bar2.Marks.Visible = false;
            bar3.Marks.Visible = false;
            bar4.Marks.Visible = false; 

            bar1.MultiBar = Steema.TeeChart.Styles.MultiBars.Stacked;
            datatabletool1 = new Steema.TeeChart.Tools.DataTableTool(tChart1.Chart);
            datatabletool1.ColumnPen.Visible = true;
            datatabletool1.RowPen.Visible = true;
            datatabletool1.ColumnPen.Color = Color.Black;
            datatabletool1.RowPen.Color = Color.Black;
        }
I have got next image where seems where your problem doesn't appears:
TestImage.jpg
TestImage.jpg (199.38 KiB) Viewed 17145 times
Can you confirm us, that in previous image doesn't appear your problem? If you consider that appears, please explain exactly where you think there is the problem.

Thanks,
Best Regards,
Sandra Pazos / 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

Captell
Newbie
Newbie
Posts: 65
Joined: Fri Sep 18, 2009 12:00 am

Re: Datatable not showing all data depending on chart size

Post by Captell » Sat Aug 06, 2011 9:11 pm

Hi there,
I used your sample application found http://www.teechart.net/support/downloa ... hp?id=1928 and changed the number of bars from 5 to 10.

and the problem shows.
Adrian Heald
Director
ITSM Reporting Services Pty Ltd
http://www.reportingservices.com

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Datatable not showing all data depending on chart size

Post by Sandra » Mon Aug 08, 2011 1:28 pm

Hello Adrian,

I can reproduce your problem and I inform you that it is a known bug for us with number (TF02014272). We will try to fix it for next maintenance releases of TeeChart.Net.

Thanks,
Best Regards,
Sandra Pazos / 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

Captell
Newbie
Newbie
Posts: 3
Joined: Tue Dec 13, 2011 12:00 am

Re: Datatable not showing all data depending on chart size

Post by Captell » Sat Aug 25, 2012 5:10 am

Hi All,
I've just installed 4.1.2012.7133 and note that this problem still exists. Any chance it can be fixed soon.

To reproduce the issue useing TeeChart for .Net Examples application
goto All Features Welcome !\Chart styles\Standard\Bar
click Edit then add a data table tool, close the editor
now using the mouse take hold of the right side of the window and very slowly make the window narrower, you will get to a point where the chart is about 15cm across where columns 1,3 and 5 dissapear, if you keep making it smaller they reappear then dissapear and so on.

My application has a need to include datatables in the chart output and my users want to export the charts quite small, about 15cm wide so it's fairly important that this gets resolved... after all I first reported this about 12 months ago and the last note I got on it was that it would be fixed in the next release.

Thanks.
Adrian.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Datatable not showing all data depending on chart size

Post by Yeray » Mon Aug 27, 2012 10:59 am

Hello Adrian,

I'd like to apologize for the delay on this. We'll look at this and we'll give you a proper reply as soon as we'll get some conclusion.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Datatable not showing all data depending on chart size

Post by Yeray » Tue Aug 28, 2012 9:11 am

Hello Adrian,

This is to inform you we've just fixed it so it shouldn't be reproducible with the next maintenance release.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply