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
Thank you so much for your previous answers. We have some additional ones for you.
Using the tool „Margin“ I am able to accomplish the wanted distances to the borderlines, however the names of the delineations are not accompanied to the new positions of the series. Please see red markings on pictures 1 and 2. What I am looking for is a suitable distance from the borderlines for easier viewing mode WITH the names of the delineations accompanying the changes to the margins. The axis instances have to follow the changes to the series in order to keep the diagram correct.
Unfortunately I was not comfortable with any of the possible examples of formatting labels at the axis positions. What I need is not a fixed format, but one that adjusts the writing/labeling of the Y-axis in order to have the numbers (or names) always completely written out and legible. Not compacted to ….. no matter the length of the word or number.
Please see the red marking on picture 3 for further reference.
One option would be an automatic reduction of the font size of the y-axis (as it was handled in XamChart), or with an automatic widening of the area that the label is in. Would you be able to give me some options for this?
With regard to the following items:
You could set a minimum value on the axis to force a distance between the edge of the chart and the first data point.
You could set the Extent property on the AxisLabelSettings which will set a width for the area where the labels will appear. Without setting the Extent, the labels will default to displaying with the ...
Sincerely,
Pamela Brasil
Hello Kasar,
Do you have any other questions on this matter?
Valerie
Developer Support Engineer
Infragistics
www.infragistics.com/support
The starting point on a CategoryXAxis cannot be changed.
Instead of using a Line Series, you could use a Scatter Line Series using a NumericXAxis and set the Minimum / Maximum value on that.
http://help.infragistics.com/NetAdvantage/WPF/2013.1/CLR4.0/?page=xamDataChart_Scatter_Line_Series.html
http://ko.infragistics.com/products/wpf/sample/data-chart/gallery-scatter-series
Hello Pamela,
"You could set a minimum value on the axis to force a distance between the edge of the chart and the first data point."
Setting a minimum or maximum value is only supported on numerical axis. How can I realize a distance between the edge of the chart and the first data point with a CategoryXAxis by using Line Series (http://help.infragistics.com/Help/NetAdvantage/WPF/2011.2/CLR4.0/html/xamDataChart_Series_Requirements.html)?
Kasar