Print doesn't work with big datasets

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Michal Blazejczyk
Newbie
Newbie
Posts: 64
Joined: Fri Jun 16, 2006 12:00 am

Print doesn't work with big datasets

Post by Michal Blazejczyk » Fri Nov 03, 2006 7:55 pm

Hi,

I have a box plot with 6 boxes. Each box has roughly 50K outlier data points (and 500K data points in total, per box). Because of the amount of data I'm using UseCustomValues=true.

The plot displays and exports fine (though it's slow). However, when I try to print it, it either takes forever to generate the preview, or throws an exception.

I have posted the .ten file on my personal web site: click here to download.
Best,
Michal Blazejczyk
Lead Programmer
Genome Quebec

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Nov 06, 2006 10:36 am

Hi Michal,

I could reproduce the problem here and have seen that is because of the box1.ExtrOut.Style property. By default it is a diagonal cross and what fails is the GDI+ method drawing the line. Using other styles not drawing lines works fine, for example:

Code: Select all

        private void Form1_Load(object sender, EventArgs e)
        {
            tChart1.Import.Template.Load("TeeChartBigBoxPlotPrintFailure.ten");

            //Workaround
            for (int i = 0; i < tChart1.Series.Count; i++)
            {
                Steema.TeeChart.Styles.Box box1 = tChart1[i] as Steema.TeeChart.Styles.Box;
                box1.ExtrOut.Style = Steema.TeeChart.Styles.PointerStyles.Circle;
            }
            //End Workaround
        }
Anyway, I added this issue (TF02011870) to our defect list to be fixed for future releases.
Best Regards,
Narcís Calvet / 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