Page 1 of 1

Paint issues with Datatable control

Posted: Wed Jul 01, 2009 6:16 pm
by 13045294
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.

Re: Paint issues with Datatable control

Posted: Wed Jul 01, 2009 6:37 pm
by 13045294
Quick update - sometimes the data values in the table paint over other objects as well....

Re: Paint issues with Datatable control

Posted: Thu Jul 02, 2009 10:27 am
by 10050769
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,

Re: Paint issues with Datatable control

Posted: Mon Oct 26, 2009 10:24 pm
by 13045294
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 9554 times
Thanks!

Re: Paint issues with Datatable control

Posted: Tue Oct 27, 2009 9:56 am
by 10050769
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,