i am working on LineSeries Chart . i want to have following customizations
1) the Box in which legends are shown i wan to remove it , as i have single series i dont want legends and box. in my case an empty box is there. please refer the image
2) how to have tooltip of datapoint as always visible. by default i have to hover the mouse then it shoes the tooltip ,i want to be always visible
3) i have given name to the Y axis data points as "Time" . and due to which the all the data points on y axis have shifted to opposite side.
i want them to be on their original position. please refer the image
xaml for charts:
xmlns:dvc="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
<ItemsControl Name="charts" ItemsSource="{Binding ListOfSource}" >
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel ></WrapPanel>
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
<ItemsControl.ItemTemplate>
<DataTemplate>
<Border BorderBrush="Black" BorderThickness="1" Margin="10" >
<StackPanel>
<Label Background="LightGray" x:Name="a" Content="{Binding TestCaseName}"/>
<dvc:Chart BorderThickness="0" Height="300" Width="500" Name="Chart0" >
<dvc:Chart.Axes>
<dvc:CategoryAxis Orientation="X">
<dvc:CategoryAxis.Title>
Readings
</dvc:CategoryAxis.Title>
</dvc:CategoryAxis>
<dvc:CategoryAxis Orientation="Y">
<dvc:CategoryAxis.Title>
Time
</dvc:CategoryAxis.Title>
</dvc:CategoryAxis>
</dvc:Chart.Axes>
<dvc:Chart.Series >
<dvc:LineSeries
ItemsSource="{Binding SeriesData}"
Title="{Binding}"
x:Name="LineChart0"
IndependentValueBinding="{Binding Col}"
DependentValueBinding="{Binding Value}">
<dvc:LineSeries.LegendItemStyle >
<Style TargetType="dvc:LegendItem">
<Setter Property="Visibility" Value="Collapsed"/>
</Style>
</dvc:LineSeries.LegendItemStyle>
</dvc:LineSeries>
</dvc:Chart.Series>
</dvc:Chart>
</StackPanel>
</Border>
</DataTemplate>
</ItemsControl.ItemTemplate>
</ItemsControl>