Page 1 of 1

Datatable not showing all data depending on chart size

Posted: Tue Aug 02, 2011 9:31 pm
by 15654268
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 12968 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 12957 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.

Re: Datatable not showing all data depending on chart size

Posted: Wed Aug 03, 2011 1:55 pm
by 10050769
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 12934 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,

Re: Datatable not showing all data depending on chart size

Posted: Sat Aug 06, 2011 9:11 pm
by 15654268
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.

Re: Datatable not showing all data depending on chart size

Posted: Mon Aug 08, 2011 1:28 pm
by 10050769
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,

Re: Datatable not showing all data depending on chart size

Posted: Sat Aug 25, 2012 5:10 am
by 15661034
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.

Re: Datatable not showing all data depending on chart size

Posted: Mon Aug 27, 2012 10:59 am
by yeray
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.

Re: Datatable not showing all data depending on chart size

Posted: Tue Aug 28, 2012 9:11 am
by yeray
Hello Adrian,

This is to inform you we've just fixed it so it shouldn't be reproducible with the next maintenance release.