Hi,
I would like to have PointMark on the line chart or area Chart. How can I have it? Like attachment. And this is code of my chart.
<Chart:RadCartesianChart Height="225" VerticalAlignment="Bottom" Background="#FF3F5852" Name="cartesianChart" >
<Chart:RadCartesianChart.Resources>
<Style x:Key="CustomAxisLineStyle" TargetType="Line">
<Setter Property="Stroke" Value="Gray" />
<Setter Property="StrokeThickness" Value="1" />
</Style>
<Style x:Key="ticks" TargetType="Rectangle">
<Setter Property="Fill" Value="Green"/>
</Style>
<Style x:Key="CustomAxisLableStyle" TargetType="TextBlock">
<Setter Property="FontSize" Value="14" />
<Setter Property="Foreground" Value="White" />
</Style>
</Chart:RadCartesianChart.Resources>
<Chart:RadCartesianChart.Behaviors>
<Chart:ChartTrackBallBehavior InfoMode="Multiple"/>
</Chart:RadCartesianChart.Behaviors>
<!-- Grid line inside chart -->
<Chart:RadCartesianChart.Grid>
<Chart:CartesianChartGrid MajorLinesVisibility="XY" StripLinesVisibility="Y">
<Chart:CartesianChartGrid.MajorXLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Gray"/>
<Setter Property="StrokeThickness" Value="1" />
</Style>
</Chart:CartesianChartGrid.MajorXLineStyle>
<Chart:CartesianChartGrid.MajorYLineStyle>
<Style TargetType="Line">
<Setter Property="Stroke" Value="Gray"/>
<Setter Property="StrokeDashArray" Value="2,2"/>
</Style>
</Chart:CartesianChartGrid.MajorYLineStyle>
</Chart:CartesianChartGrid>
</Chart:RadCartesianChart.Grid>
<Chart:RadCartesianChart.VerticalAxis>
<Chart:LinearAxis LineStyle="{StaticResource CustomAxisLineStyle}" LabelStyle="{StaticResource CustomAxisLableStyle}"/>
</Chart:RadCartesianChart.VerticalAxis>
<Chart:RadCartesianChart.HorizontalAxis>
<Chart:DateTimeContinuousAxis MajorStep="10" GapLength="0.5" MajorStepUnit="Week" LabelFitMode="MultiLine" LabelFormat="{}{0,0:MMM-yyyy}" LabelStyle="{StaticResource CustomAxisLableStyle}" />
</Chart:RadCartesianChart.HorizontalAxis>
<Chart:AreaSeries ItemsSource="{Binding values}" Stroke="#FFFFC800" StrokeThickness="2" IsVisibleInLegend="False" Fill="#B2788D88">
<Chart:AreaSeries.CategoryBinding>
<Chart:PropertyNameDataPointBinding PropertyName="date"/>
</Chart:AreaSeries.CategoryBinding>
<Chart:AreaSeries.ValueBinding>
<Chart:PropertyNameDataPointBinding PropertyName="value"/>
</Chart:AreaSeries.ValueBinding>
</Chart:AreaSeries>
</Chart:RadCartesianChart>
Thanks,
Trung.