Hi All,
I want to show my data in 3d view. I have parent child relationship data. My data and chat image is attached and following is my requirement. Please help me with sample application.
Regards
Sufyan
Hello Sufyan,
Thank you for you post. I have been looking into the appearance that you are looking for and I have created a sample application, based on your description and data. I have used, the Infragistics’ Excel Engine in order to load the data that you are having into an collection of objects. I have generated the series of the XamChart, in code, based on the items in the models table. I have handled the MouseMove event and I am using it, in order to allow rotating the XamChart, by holding the mouse’s left button and moving the mouse. Also I have used the MouseWheel event of the XamChart, to allow changing the angle of the rotation. I am attaching the sample application and a video that shows the moving behavior.
Please let me know if need any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
www.infragistics.com/support
Hello Krasimir,
Thanks for your reply, In sample application XAxis (Indicators) are not completely display some are missed for understanding see excel sheet, and in sample application XAxix values are smaller than YAxix they must have the same font and the Model must have different prominent colors some models have the same colors like top and bottom models, and i want to display Model, Indicator (XAxix) and Value (YAxix) when mouse is over the chart columns.Updated Excel sheet is attached.
Hello
Thanks for your reply, i face following problems
"This place is the attached image. See attached image for clarification."
The only axis/grid should be the horizontal plane and make even these axis grid lines light and thin.
3. Requirement :Enable user mouse click&drag to rotate view - Question : not working that well, seems impossible to look chart from above using mouse
Please use my previous attached and modified sample application for reference, please help me with sample application as soon as possible.
I am using MVVM and above is my requirement use my attached sample application, kindly give me a solution with all bindings in xaml with the help of sample application as soon as possible.
Thank you for your replies. I have been looking into them and regarding the coloring of the series of the XamChart, I can suggest setting the Fill property of the Series, when you are generating them, to different brushes in order to achieve the appearance that you have described. For the transparency of the walls of the chart, what you can do is setting the Scene3DBrush to transparent as I have already demonstrate in the sample that I have previously attached and also you can hide the grid lines of the axes of the chart.
Regarding the third question that you are having, for the ability to rotate the XamChart by clicking and dragging the mouse, you can use custom the approach I have suggested as basis to implement this custom scenario in order to match requirements that you are having. Also you if you need to implement any custom scenarios, as the ability to rotate the 3D chart, you can contact our Consulting Team. You can read more detailed information regarding this here in our web site: http://es.infragistics.com/consulting/.
I have modified the sample application that I have provided you with, in order to show how you can set different brushes to each series of the XamChart and also how to hide the grid lines of the axes.
Thanks for your reply i already do that regarding the coloring of the series of the XamChart, and its working fine. Is it possible to show tooltip of series with Legend and XAxis and YAxis Values. If it possible i shall be very thankful to you for this favor.
Thank you for your reply. I have been looking into the appearance that you are looking for and if I understand correctly, you wish to display the Model, the Indicator and the Price in the tooltip of the Series. If this is correct, I can suggest adding a Model property to the class that represents the DataPoints. After doing so you can add a mapping for the ToolTip property in the DataMappings of the Series and set the mapping property to ‘.’, in order to set the whole object as content of the tooltip. You can do that as follows:
series.DataMapping = "Value=Price;Label=Indicator;ToolTip=.";
By doing so the Content of the Tooltip of the columns will be the object of the data point. Since the tool tip has a content presenter in its template, it will display a simple TextBlock with the ToString method of the DataPoint objet. To show all the information in the tool tip (the Model, the Indicator and the Price properties) you can create a style for the ToolTip and change its Template to show the data. I have modified the sample application that I have attached with my previous reply, in order to show how you can implement this approach.
Please let me know if you need any further assistance on the matter.
I need more help of you regarding 3d view,
Please keep in mind i use MVVM. Use your modified sample application of Replied On: 12-21-2012 9:32 AM. The rotation of the chart is difficult with the mouse, can we add arrows to bottom right for rotating right/left and up/down (and right&up, right&down, left&up, left&down) similar to what is shown in attached screen shot and Icons are also attached.
Thank you for your reply. I am very glad that the issue that you were having is solved. Please let me know if you need any further assistance on the matter.
Thank you so much Krasimir, my problem is solved.