We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Real 3D mode chart

Hi,

I have problem with column chart. I want to do column chart where are X, Y and Z axles.
- Y axel represents a volumn of data
- X axel represents type of data
- Z axel represents type of data series

How can I do such chart where Z axel has been used? I can now do the chart where are X and Y axels, but isn't there any clear way to show Z axel? Should I show the type of data series by ChartSeries.DrawSeriesNameInDepth method? How can I align it to right side of chart. By default it is shown on left side.

There are picture this kind chart on syncfusion site:
http://www.syncfusion.com/products/chart/windows/features/Visual_Appearance/3D_Modes.aspx

Oh, is there way to disable rotation of label texts when using 3D mode.

I have tried many solution between 'Real 3D mode' and '3D plane mode' without any good results.

Now I have been solved this Z axle problem with legend, but customer aren't happy with it.

(I use the SyncFusion Essential Studio 4.4.0.51)



8 Replies

AD Administrator Syncfusion Team May 14, 2008 12:06 PM UTC

I clarify my needs more...

Please tell me how to do 'Real 3D mode'-example excatly same as in page: http://www.syncfusion.com/products/chart/windows/features/Visual_Appearance/3D_Modes.aspx

Is there solution?




YG Yavanaarasi G Syncfusion Team May 14, 2008 02:38 PM UTC

Hi jjarvi,

Thank you for your interest in Syncfusion products.

You can set the following properties for getting the Real3D mode sample. Please refer the below code:


this.chartControl1.ChartArea.Series3D = true;

this.chartControl1.Tilt = 0;

this.chartControl1.Depth = 150;

this.chartControl1.Rotation = 10;

this.chartControl1.RealMode3D = true;


Please refer the documentation link:
http://www2.syncfusion.com/ug_62/chart/default.html

Here is the sample for your reference:
http://websamples.syncfusion.com//samples/Chart.Windows/F73651/main.htm

Please try this and let me know if this helps.

Regards,
G.Yavana



AD Administrator Syncfusion Team May 20, 2008 07:00 AM UTC

Thanks for your reply.

Your sample isn't same as reference chart in page: http://www.syncfusion.com/products/chart/windows/features/Visual_Appearance/3D_Modes.aspx

There are no Z-axis labels on right side chart. How those can be done?

Is there solution to get lines to Z-axis floor which separates series along Z-axis?



YG Yavanaarasi G Syncfusion Team May 23, 2008 05:46 AM UTC

Hi jjarvi,

Here is the sample that shows same as the reference chart that you have mentioned:

http://websamples.syncfusion.com/samples/Chart.Windows/F-73651/main.htm


Please let me know if you have any other concerns.

Regards,
G.Yavana








AD Administrator Syncfusion Team May 29, 2008 06:56 AM UTC

Hi and thank you for good support!

Still I have few questions. I add my modification of your example and there I have my problem point on InitializeChartAppearance() method.

Problems shortly are (details on attachment):
- Force Y-axis to zero doesn't work
- X-axis had to be inversed. But then series names in depth are on left side of chart. That's not what I want. Series names should be on right side of chart.
- How to add lines between series points (along X-axis that clarify chart -> like there are lines on Y-axis between series)




F-73651_edited.zip


J. J.Nagarajan Syncfusion Team May 30, 2008 12:43 PM UTC

Hi,

Please refer to the attached sample that demonstrates to show zero as minimum value of Y axis and the X axis gets inversed and display the series name at right.

http://www.syncfusion.com/Product/uploads/F-73651_c794f41c.zip

Regarding the line between the series, please provide some more details of your requirement. If you want to draw the custom lines between the series, then you have to handle ChartAreaPaintevent and you can draw your own custom line by using its graphics.

this.chartControl1.ChartAreaPaint += new PaintEventHandler(chartControl1_ChartAreaPaint);
void chartControl1_ChartAreaPaint(object sender, PaintEventArgs e)
{
e.Graphics.DrawLine(Pens.Red, new Point(20, 20), new Point(40, 40));
}

Please let me know if this helps.

Regards,
Nagaraj



AD Administrator Syncfusion Team June 16, 2008 09:25 AM UTC

Hi,

Thanks for reply, those works. Sorry for delay, I was on vacation.

Is there solution to get series to same line in depth mode? if you see the result (attachment), there are slide between series points on same X-coordinate. It could be more clarify if they are on the same line.

ie. Look a column where X-axis index is 0 and Z-axis index is 2 and compare it to column where X and Z indices are 0. You can see the slide what I mean.

I attached again the edited example...



F-73651_edited2_87347b72.zip


J. J.Nagarajan Syncfusion Team June 17, 2008 10:50 AM UTC

Hi ,

When you add two series at same X point, then the second series will be added next to the first series. This is default by design. Both series should not be rendered at the same X Point. Similarly in this sample there are five series at X=0. Each series will be rendered next to one another. All the series should not be rendered at same X coordinate. If they rendered at same X Point they will be overlapped each other and you could not identify the series.

Please let me know if you have any questions.

Thanks,
Nagaraj


Loader.
Live Chat Icon For mobile
Up arrow icon