Hello
i need to implement a scroll bar on a bar series, because i have a lot of data to show. Can someone help me how to do it?
This is the code of my bar series.:
<Chart:BarSeries ItemsSource="{Binding ListData}" >
<Chart:BarSeries.PointTemplate>
<DataTemplate>
<Rectangle Fill="{Binding DataItem.Color}" />
</DataTemplate>
</Chart:BarSeries.PointTemplate>
<Chart:BarSeries.LabelDefinitions>
<Chart:ChartSeriesLabelDefinition HorizontalAlignment="Center" VerticalAlignment="Top" >
<Chart:ChartSeriesLabelDefinition.Template>
<DataTemplate>
<TextBlock FontSize="15" Text="{Binding DataItem.Value}" Foreground="Black"/>
</DataTemplate>
</Chart:ChartSeriesLabelDefinition.Template>
</Chart:ChartSeriesLabelDefinition>
</Chart:BarSeries.LabelDefinitions>
<Chart:BarSeries.ValueBinding>
<Chart:PropertyNameDataPointBinding PropertyName="Value"/>
</Chart:BarSeries.ValueBinding>
<Chart:BarSeries.CategoryBinding>
<Chart:PropertyNameDataPointBinding PropertyName="Caption"/>
</Chart:BarSeries.CategoryBinding>
</Chart:BarSeries>