Paint issues with Datatable control

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
AIDev
Newbie
Newbie
Posts: 22
Joined: Wed May 23, 2007 12:00 am

Paint issues with Datatable control

Post by AIDev » Wed Jul 01, 2009 6:16 pm

Hi,

There are a few painting issues that I have seen with the datatable tool. I have uploaded a pair of screenshots:

Datatable paint issues1 and 2.png (tested with v3.5.3425.20245)
--------------------------------------
1) Some coloumns do not paint values, even though the values exist
2) When zooming in and out, sometimes the values are painted over a column border.

Datatable paint issues3.png (tested with v3.5.3371.26405)
-------------------------------
3) Column borders are painted in front of other objects. In this example, the annotation is painted on top of (and hides) the values shown in the table (which is correct behavior). However the table borders are painted on top of the annotation box.

I am in a bit of a time crunch and have not been able to test with the 4.x version of TChart. If I do find the time, I will post the results here.
Attachments
Datatable paint issues3.png
Datatable paint issues3.png (24.22 KiB) Viewed 9718 times
Datatable paint issues1 and 2.png
Datatable paint issues1 and 2.png (58.44 KiB) Viewed 9720 times

AIDev
Newbie
Newbie
Posts: 22
Joined: Wed May 23, 2007 12:00 am

Re: Paint issues with Datatable control

Post by AIDev » Wed Jul 01, 2009 6:37 pm

Quick update - sometimes the data values in the table paint over other objects as well....

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

Re: Paint issues with Datatable control

Post by Sandra » Thu Jul 02, 2009 10:27 am

Hello AIDev,
1) Some coloumns do not paint values, even though the values exist
2) When zooming in and out, sometimes the values are painted over a column border.
I could reproduce your problem and I have added to the list of Bug Report with number [TF02014272] we will try to fix it for next versions of TeeChart .NET.
3) Column borders are painted in front of other objects. In this example, the annotation is painted on top of (and hides) the values shown in the table (which is correct behavior). However the table borders are painted on top of the annotation box.
I could not reproduce your problem with last versions of TeeChartFor . Net (version 4 and version 3). Please check your code with last update of version 3. If your problem still appears. Please, could you send us a simple example project we can run "as-is" to reproduce the problem here?. Now, you can put your project directly in the post, using new property of forums upload attacments.

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

AIDev
Newbie
Newbie
Posts: 22
Joined: Wed May 23, 2007 12:00 am

Re: Paint issues with Datatable control

Post by AIDev » Mon Oct 26, 2009 10:24 pm

Hi,
any update on when the issues for TF02014272 will be fixed?

Also,
using 4.0.2009.35592, I am able to reproduce the issue #3 in which items showing through the annotation box. I have attached another screenshot demonstrating this issue.
annotation_box.png
annotation_box.png (12.26 KiB) Viewed 9720 times
Thanks!

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

Re: Paint issues with Datatable control

Post by Sandra » Tue Oct 27, 2009 9:56 am

Hello AIDev,
any update on when the issues for TF02014272 will be fixed?
No, this issue hasn't been fixed yet. I am working in bug. Also,I recommend you to be aware at this forum or subscribe to our RSS news feed for new release announcements and what's fixed on them.
Also,
using 4.0.2009.35592, I am able to reproduce the issue #3 in which items showing through the annotation box. I have attached another screenshot demonstrating this issue.
We couldn't reproduce your isseu using next code:

Code: Select all

        private void InitializeChart()
        {
            Steema.TeeChart.Styles.Bar bar1 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            Steema.TeeChart.Styles.Bar bar2 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            Steema.TeeChart.Styles.Bar bar3 = new Steema.TeeChart.Styles.Bar(tChart1.Chart);
            Steema.TeeChart.Tools.DataTableTool datatable = new Steema.TeeChart.Tools.DataTableTool(tChart1.Chart);
            tChart1.Aspect.View3D = false;
            bar1.Marks.Visible = false;
            bar2.Marks.Visible = false;
            bar3.Marks.Visible = false;
            bar1.FillSampleValues(10);
            bar2.FillSampleValues(10);
            bar3.FillSampleValues(10);
            datatable.Top = 103;
            datatable.RowPen.Color = Color.Black;
            datatable.ColumnPen.Color = Color.Black;
            Steema.TeeChart.Tools.Annotation annotation1 = new Steema.TeeChart.Tools.Annotation(tChart1.Chart);
            annotation1.Text = bar1.Title;
            annotation1.Shape.Visible = true;
            tChart1.Draw();
            Rectangle rect = tChart1.Chart.ChartRect;
            annotation1.Left =rect.Right - 50;
            annotation1.Top = rect.Bottom - 50;
            annotation1.AutoSize = false;
            annotation1.Shape.Height = 200;
            annotation1.Shape.Width = 200;
   
         
        }

Please check previous code cause the same issue in your application. If code don't cause issue, please, modified the code, because we can reproduce the problem here.


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

Post Reply