Area series not displaying after upgrading to v3.5.3330

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
glitch
Newbie
Newbie
Posts: 11
Joined: Fri Nov 02, 2007 12:00 am

Area series not displaying after upgrading to v3.5.3330

Post by glitch » Fri Feb 27, 2009 9:56 pm

Hi,
I upgraded from 3.5.3146 to 3.5.3330 hoping to resolve a problem we are having with the performance of TCharts when we have a large number of datapoints (>20,000). However, after the upgrade we no longer see the areas on the charts or they are displayed in numerous axes on the charts (Picasso-like). The Teechart I'm working with has 3 area series and 3 line series. They are not 3-D nor is stack used. I was able to reproduc the problem in the designer by opening the TeeChart Editor, selecting the serie's Data Source tab, changing the Number of sample values to 25,000, then selecting Apply. Please take a look at this and let me know what to do.
Thank you

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

Post by Sandra » Mon Mar 02, 2009 9:38 am

Hi glich,

We can not reproduce your problem here. I recomended vistit next links,there seemed problem to your that is solved in current version of TeeChart .NET


Update TeeChart.Net post

http://www.teechart.net/support/viewtopic.php?t=9220


TeeChartNET3Release.txt :


See number of bug report [TF02013848].

http://www.steema.com/files/public/teec ... elease.txt


Please, check that your version of TeeChart .NET is new update version.

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

glitch
Newbie
Newbie
Posts: 11
Joined: Fri Nov 02, 2007 12:00 am

Post by glitch » Mon Mar 02, 2009 9:23 pm

Hi Sandra,
I am using TeeChart Pro Version 3.5.3330.21114, Runtime v2.0.50727, with Visual Studio C# 2008 and .Net 2.0.
To retest this issue, I upgraded TeeChart 3.5.3146 to 3.5.3330 (3330 had been backed off), created a new Windows forms project with a single TChart object on the form, 3-D was turned off, 3 areas and 3 lines were added to the TChart, the 3rd area was moved down to the bottom of the list and unchecked, and the legend was aligned to the bottom of the chart. I then added code to create 25,000 data points to each area and line. When this is run, sometimes the areas are filled in and sometimes not. If the chart is zoomed multiple times, the areas seem to fracture.
I'm not sure how to proceed but, for me, 3330 is unusable. Please could you take a 2nd look at this issue?
Regards

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

Post by Sandra » Tue Mar 03, 2009 9:33 am

Hi glitch,


We can not reproduce your problem here using the following code:


Code: Select all

private void Form1_Load(object sender, EventArgs e)
        {


            Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Area area2 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line2 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line3 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Area area3 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            tChart1.Aspect.View3D = false;
            tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
            
            area3.Visible = false;

            tChart1.AutoRepaint = false;
            Random y = new Random();
            for (int i = 0; i < 25000; i++)
            {
                foreach (Steema.TeeChart.Styles.Series s in tChart1.Series)
                {
                    s.Add(y.Next(1000));
                }
            }
            tChart1.AutoRepaint = true;
            tChart1.Refresh();

        }

Please, change the necessary elements of code, because we can reproduce your issue 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

glitch
Newbie
Newbie
Posts: 11
Joined: Fri Nov 02, 2007 12:00 am

Post by glitch » Tue Mar 03, 2009 4:07 pm

Hi Sandra,
Thanks for the reply. I only needed to add slope to the chart to get the effect.

Code: Select all

        private void Form1_Load(object sender, EventArgs e)
        {
            Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Area area2 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            Steema.TeeChart.Styles.Line line1 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line2 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Line line3 = new Steema.TeeChart.Styles.Line(tChart1.Chart);
            Steema.TeeChart.Styles.Area area3 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
            tChart1.Aspect.View3D = false;
            tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;

            area3.Visible = false;

            tChart1.AutoRepaint = false;
            Random y = new Random();
            double[] d = {100.0,100.0,100.0,100.0,100.0,100.0};
            for(int i = 0; i < 25000; i++)
            {
                int n = 0;
                foreach(Steema.TeeChart.Styles.Series s in tChart1.Series)
                {
                    d[n] += y.Next(1000);
                    s.Add(d[n++]);
                }
            }
            tChart1.AutoRepaint = true;
            tChart1.Refresh();
        }
    }
The result, for me, was a chart without areas, only lines. As I zoomed the image incrementally, areas appeared but in odd looking fashion. Play with the zoom and resizing to see different effects.
Kind regards,
John

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

Post by Sandra » Wed Mar 04, 2009 10:25 am

Hi, John

I could reproduce your problem and I have added to the list of Bug Report with number [TF02013920] we will try to fix it for next versions 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

glitch
Newbie
Newbie
Posts: 11
Joined: Fri Nov 02, 2007 12:00 am

Post by glitch » Thu Mar 05, 2009 6:10 pm

Thank you, Sandra.

The original reason for my update was to resolve a performance issue with zoom/unzoom. Zoom and, especially, unzoom performance degrades quite noticably with series containing a large number of datapoints. Did you also see that in testing for the above issue? Is there something that can be done to improve this performance?

Thanks,
John

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

Post by Sandra » Fri Mar 06, 2009 9:57 am

Hi glich,

I recomended two thinks.

First, you could see TeeChart Demo for .NET, specifically reducing number of points that you can find in: Welcome !\Functions\Extended\Reducing number of points


Or, there is an article for to improve the performance of real time, you can find this here and click Real-time Charting.


I hope you have been served my help.

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