Hi there,
I'm sure this is very simple and I'm missing something, but every time I try to show a Line3D chart, there is no way, that the "floor" and "left wall" have enough width...
I mean, the data is displayed OK, the chart on the control is Ok (nice perspective and view) but, the produced chart is quite "narrow", I'd say it's basically a 2D chart just with a little tilt.
I'm using VS 2008 (VB.Net)
Here is my code:
Dim Series_T0 As New NumericSeries()Dim Series_T1 As New NumericSeries()
Series_T0.Points.Clear()Series_T1.Points.Clear()
Series_T0.Label = "T-1 -> " + "AA"Series_T1.Label = "T-2 -> " + "BB"
For dist As Short = 0 To Graphs_Scale Step DistStep Series_T0.Points.Add(New NumericDataPoint(T1(0).TEMP(dist), CStr(dist), False)) Series_T1.Points.Add(New NumericDataPoint(T1(1).TEMP(dist), CStr(dist), False))
Next distEnd If
Me.UltraChart_Parameters.Series.Add(Series_T0)
My point is, if I'm using the control with its default settings (looks really nice), why I'm not getting that perspective view and "depth" on both the "floor" and "left wall"?
Thanks in advance for any little help, code is appreciated!
Gus
Unfortunately, the width of the line segments cannot be increased, but you can change the 3d rotation and position the control at an angle that will give you more depth. For example, try setting the rotation in the following fashion:UltraChart1.Transform3D.XRotation = 120UltraChart1.Transform3D.YRotation = 30
Max, thanks for the help, but the chart is still a 2D just tilted.
Seems to me that the Z axis has almost no width, thus the "flat look"
Do I have to set something on the Z? I supposed the chart will automatically add the correct width to make for the 3D effect.
I mean, the data (please see the code) has the numeric values, and corresponds to two different series, but the series's labels are unspaced when displayed, thus the "floor" and "left wall" have no depth at all.
Moreover, the chart control when applied to the form has a perfect view why the output (without having changed a single setting) doesn't look the same?
Thanks for your help!
You shouldn't have to modify the ZRotation. Can you post your resulting image here?Here's the code I used and the image output. The code is essentially the same as yours, just has different data values and the number of points.
NumericSeries series = new NumericSeries();series.Points.Add(new NumericDataPoint(8, "Point A", false));series.Points.Add(new NumericDataPoint(5, "Point B", false));series.Points.Add(new NumericDataPoint(6, "Point C", false));series.Points.Add(new NumericDataPoint(7, "Point D", false));series.Points.Add(new NumericDataPoint(6, "Point E", false));this.ultraChart1.Series.Add(series);
series = new NumericSeries();series.Points.Add(new NumericDataPoint(8, "Point A", false));series.Points.Add(new NumericDataPoint(9, "Point B", false));series.Points.Add(new NumericDataPoint(7, "Point C", false));series.Points.Add(new NumericDataPoint(5, "Point D", false));series.Points.Add(new NumericDataPoint(8, "Point E", false));this.ultraChart1.Series.Add(series);
ultraChart1.Transform3D.XRotation = 120;ultraChart1.Transform3D.YRotation = 30;
Hi Mark,
Here goes the image.
As can be appreciated my chart does not have any depth (it's too narrow)
So, how can I set the depth to have a look like your chart?
Thanks!
Thanks for the response, now I know it wasn't I was doing wrong.
In short, my chart has too many points!
I see. The depth decreases as the number of points in a series becomes larger. Unfortunately, this isn't something that can be controlled. You can request this as a feature here:http://devcenter.infragistics.com/Protected/RequestFeature.aspx