Hello,I have used several properties in XamlChart. But now it is not supported anymore.So can anybody tell me, which properties in the new XamlDataChart replace the follow properties from the old XamlChart and how can I develop this with the XamlDataChart in a simple way?
3Dthis.myChart.View3DAnimations by data assignment in XAML<ig:Series.Animation> <ig:Animation BeginTime="00:00:00.5"/></ig:Series.Animation>DataPointsthis.mySerie.DataPointsCaptionthis.myChart.CaptionOthersHow can I define a distance between the first and last point of a serie to the border? (Example: Image 1 or 2)How can I optionally expand or fade in the explanation (legend), becauce there is not enough place and so each serie in the explanation is partially overlapped.How can I dynamically adjust the widh of labels in y-axis to their maximum width? If a label is to big, it is not completely displayed, but truncated. Or how can I dynamically change the size of font? (Example: See the difference of FontSize in image 1 and 2)
Hello kasar,
Thank you for your post.
Firstly when migrating over to xamDataChart, I would recommend that you take a look at the documentation and samples for the xamDataChart.
Documentation:
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_xamDataChart.html
Samples:
http://ko.infragistics.com/products/wpf/data-chart/
You can download the samples with the product installer so that you can interact with them as they are static images on the website version of the samples.
You can also view the showcase applications which use the xamDataChart control at the following location:
http://ko.infragistics.com/products/wpf/application-samples
You may also find this link useful as it explains the process of migrating from xamChart to xamDataChart.
http://ko.infragistics.com/community/blogs/kiril_matev/archive/2011/11/10/upgrading-your-charting-experience-using-xamdatachart.aspx
Now, to answer your questions.
3D – this.myChart.View3D
Please refer to the following blog post regarding 3D in xamDataChart
http://ko.infragistics.com/community/blogs/jason_beres/archive/2011/01/01/important-product-changes-and-control-retirements-in-2011-2.aspx
Animations by data assignment in XAML
For the xamDataChart you can animate your charts using the Motion Framework. Please refer to the following help documentation for more information:
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/
Sample –
http://ko.infragistics.com/products/wpf/sample/data-chart/motion-framework-chart
DataPoints
The xamDataChart control is optimized for performance and can easily bind to a large number of data points. Please refer to the following help documentation for more information:
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Data_Binding.html
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Data_Mapping.html
http://ko.infragistics.com/products/wpf/sample/data-chart/binding-high-volume-data
http://ko.infragistics.com/products/wpf/sample/data-chart/binding-real-time-data
http://ko.infragistics.com/products/wpf/sample/data-chart/updating-data-points
CaptionA suggestion on how to implement this in xamDataChart control would be by adding the chart and a TextBlock (with the title) in the a StackPanel or a Grid control. Currently it cannot be implemented directly. Although this is something that we are planning for a future release.
Image Comparisons
How can I define a distance between the first and last point of a series to the border? (Example: Image 1 or 2)The can be achieved by setting a Margin on the series,
Legend
How can I optionally expand or fade in the explanation (legend), becauce there is not enough place and so each serie in the explanation is partially overlapped.The Legend can be docked to the xamDataChart control’s plot area. You can place it in many different areas.
Please refer to the Legend documentation for more information.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Legends.html
Samples –
http://ko.infragistics.com/products/wpf/sample/data-chart/legend-docking
http://ko.infragistics.com/products/wpf/sample/data-chart/legend-types
Format Axis
How can I dynamically adjust the width of labels in y-axis to their maximum width? If a label is to big, it is not completely displayed, but truncated.
Or how can I dynamically change the size of font? (Example: See the difference of FontSize in image 1 and 2)
Refer to the following documentation for more information on formatting the axis labels
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Axis_Label_Templates.html
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Axis_Label_Settings.html
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Axis_Label_Format.html
The following samples also demonstrate how to format the axis labels:
http://ko.infragistics.com/products/wpf/sample/data-chart/axis-label-format
http://ko.infragistics.com/products/wpf/sample/data-chart/axis-label-settings
http://ko.infragistics.com/products/wpf/sample/data-chart/axis-label-templates
http://ko.infragistics.com/products/wpf/sample/data-chart/axis-orientation