This question is locked. New answers and comments are not allowed.
Hello,
I'm trying to create a custom LineSeries.PointTemplate in a ChartView control using the following xaml:
<telerik:LineSeries Name="lineSeries" ItemsSource="{Binding}" ValueBinding="Availability" CategoryBinding="ReportDate">
<telerik:LineSeries.PointTemplate>
<DataTemplate>
<Button Width="10" Height="10" ToolTipService.ToolTip="Show Report for this month..." Click="Button_Click"/>
</DataTemplate>
</telerik:LineSeries.PointTemplate>
</telerik:LineSeries>
and I have the following problems:
- The button defined in the template is displayed correctly, but is inactive/disabled.
- How can I set the content of the button via a binding property of the Chart's DataContext or the label value of the point?
Regards,
Stergios
I'm trying to create a custom LineSeries.PointTemplate in a ChartView control using the following xaml:
<telerik:LineSeries Name="lineSeries" ItemsSource="{Binding}" ValueBinding="Availability" CategoryBinding="ReportDate">
<telerik:LineSeries.PointTemplate>
<DataTemplate>
<Button Width="10" Height="10" ToolTipService.ToolTip="Show Report for this month..." Click="Button_Click"/>
</DataTemplate>
</telerik:LineSeries.PointTemplate>
</telerik:LineSeries>
and I have the following problems:
- The button defined in the template is displayed correctly, but is inactive/disabled.
- How can I set the content of the button via a binding property of the Chart's DataContext or the label value of the point?
Regards,
Stergios