I m using Column series in xam data chart and now i want to set the maximum width for all the datapoints in the chart.Is there any way to do that.Please have a look at the chart attached.
Thanks in advance
Hello Jayaprakash C,
For using the xamDataChart as a Column Series type you can set the XAxis, and YAxis properties. Also there is an Axes collection to setup the NumericYAxis and CategoryXAxis. E.g.:
<ig:XamDataChart.Axes> <ig:NumericYAxis x:Name="YAxis" Label="{}{}" /> <ig:CategoryXAxis x:Name="XAxis" ItemsSource="{Binding}" Label="{}{Name}" > </ig:CategoryXAxis></ig:XamDataChart.Axes><ig:XamDataChart.Series> <ig:ColumnSeries ItemsSource="{Binding}" ValueMemberPath="Value" Title="Value" XAxis="{Binding ElementName=XAxis}" YAxis="{Binding ElementName=YAxis}"> </ig:ColumnSeries></ig:XamDataChart.Series>
Let me know if you have any questions with this matter. Thank you.
This is how i was setting in the xamwebchart..But i m not able to set it in xamdatachart..can u pls illustrate with a code snippet for setting it in xamdatachart
<chart:XamWebChart.Series>
<chart:Series ChartType="Column" DataSource="{Binding Items}" DataMapping="Label=Label;Value=Value;">
<chart:Series.ChartParameters>
<chart:ChartParameter Type="PointWidth" Value="0.3" />
</chart:Series.ChartParameters>
</chart:Series>
</chart:XamWebChart.Series>
Thanks in advance.
For setting the maximum width for all the datapoints displayed is determined by the standard Width property of the control.