Page 1 of 1

Print doesn't work with big datasets

Posted: Fri Nov 03, 2006 7:55 pm
by 9641603
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.

Posted: Mon Nov 06, 2006 10:36 am
by narcis
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.