Page 1 of 1

Waterfall Plot Zoom

Posted: Tue Sep 28, 2010 10:57 am
by 15654420
I am using a waterfall plot to display the results of a number of FFTs over a set of data, X axis is frequency, Y axis is magnitude and Z axis is time. As part of the display TrackBar controls are provided to change the elevation and to rotate the display. In addition to this pairs of TrackBar controls are used to zoom the X and Z axis, one TrackBar is used to change the lower axis value, the other TrackBar the upper axis value. Thus by moving these TrackBar controls the user can select a frequency range (X axis) and/or a time range (Z axis). The axis values are set via the SetMinMax() call for the axis in question. The Y axis is not zoomed.

The X axis selection works as expected, however the Z axis selection results in a 'disappearance into the distance effect' of points outside the Z axis range selected. I have attached an application to demonstrate this. What I want to happen is for the points outside the selected Z axis range not to be displayed, but I do not want to reload the data as this is time consuming. Am I using the SetMinMax() call correctly for the Z axis, or is there another way to select the Z axis range either via the Depth axis, or the data series?

Many Thanks
Paul

Re: Waterfall Plot Zoom

Posted: Tue Sep 28, 2010 3:44 pm
by 10050769
Hello Paul,

Can you please, confirm us if in below image appears your problem?
Chart1.jpg
Chart1.jpg (80.69 KiB) Viewed 3566 times
Thanks,

Re: Waterfall Plot Zoom

Posted: Tue Sep 28, 2010 3:53 pm
by 15654420
Hi Sandra

The problem I am hvaing is shown in the attached image, what you get is new to me!!!

Paul
PS Using TeeChart.NET 2009 for .NET 2.0.

Re: Waterfall Plot Zoom

Posted: Wed Sep 29, 2010 11:24 am
by narcis
Hi Paul,

Thanks for the screen-shot. This is a known issue with some 3D objects and their painting order in the chart. We have been investigating the issue here and we reached the conclusion huge code changes should be necessary to fix that, which has been discarded for now.

Regarding the issue Sandra found, this can be reproduced with most recent 2010 release available at the client area when charts are non-orthogonal (with modified rotation/elevation) and this code:

Code: Select all

        public Form1()
        {
            InitializeComponent();
            InitializeChart();
        }

        private void InitializeChart()
        {
            Steema.TeeChart.Styles.Waterfall waterFall1 = new Steema.TeeChart.Styles.Waterfall(tChart1.Chart);
            waterFall1.FillSampleValues();

            tChart1.Aspect.Orthogonal = false;
            tChart1.Aspect.Chart3DPercent = 100;
            tChart1.Aspect.Perspective = 58;
            tChart1.Aspect.Rotation = 350;
            tChart1.Aspect.Elevation = 350;
            tChart1.Aspect.Tilt = 0;
            tChart1.Aspect.Zoom = 80;

            tChart1.Axes.Depth.Labels.Visible = true;
            tChart1.Axes.Depth.SetMinMax(15, 20);
        }
I have added the defect to the bug list (TF02015175) to be fixed.