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
Waterfall Plot Zoom
Waterfall Plot Zoom
- Attachments
-
- WaterfallRotate.zip
- Waterfall plot rotate and zoom
- (14.88 KiB) Downloaded 258 times
Re: Waterfall Plot Zoom
Hello Paul,
Can you please, confirm us if in below image appears your problem?
Thanks,
Can you please, confirm us if in below image appears your problem?
Thanks,
Best Regards,
Sandra Pazos / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
Re: Waterfall Plot Zoom
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.
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.
- Attachments
-
- WaterfallPlot.jpg (106.63 KiB) Viewed 3493 times
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Waterfall Plot Zoom
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:
I have added the defect to the bug list (TF02015175) to be fixed.
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);
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |