Could someone tell me if I can get these two(highlighted in Red in 2 pictures) can be done by Infragistic WPF Chart ? Thanks in advance.
Allen.
The second one as attached.
Hello Allen,
About the first feature: such tick marks are a new feature in the 13.2 version, which will be out soon. You can use the “TickLength” property to specify the tick marks length (specifying “0” will display no tick marks).
And the second one – yes, such functionality can be achieved. In order to do it a “MarkerTemplate” property must be specified for the series. Here is an example code of how to achieve it:
<ig:XamDataChart x:Name="barChart" Height="400" DataContext="{StaticResource data}"> <ig:XamDataChart.Axes> <ig:NumericXAxis x:Name="xBar"/> <ig:CategoryYAxis x:Name="yBar" ItemsSource="{Binding}"/> </ig:XamDataChart.Axes> <ig:XamDataChart.Series> <ig:BarSeries x:Name="barSeries" Title="Bar Series" XAxis="{Binding ElementName=xBar}" YAxis="{Binding ElementName=yBar}" ItemsSource="{Binding}" ValueMemberPath="Value"> <ig:BarSeries.MarkerTemplate> <DataTemplate> <Grid Width="40" Height="30" Margin="50 0 0 0"> <Border BorderThickness="1"> <TextBlock Text="{Binding Item.Value}"/> </Border> </Grid> </DataTemplate> </ig:BarSeries.MarkerTemplate> </ig:BarSeries> </ig:XamDataChart.Series> </ig:XamDataChart>
If you need more information about how to implement such features, please don’t hesitate to ask.
Thanks,
Martin Stoev
Just checking to see if the proposed solution worked out for you. If you need some further assistance on that, please feel free to ask.
Hi Martin,
Thanks for your solution, really did not expect this feature can be released so quick. I will take a look later and let you know if I need any help or assistant. Thanks again.
Regards,
That's great. I'm happy to hear that this worked out for you. I'll be glad to help you again if you generate more questions.