以下で試してみましたが、うまくいきません。
<Charting:LineSeries Title="Line_1" Margin="0"
FontSize="30" Tapped="LineSeries_Tapped"
FontWeight="SemiBold" BorderBrush="Red"
IndependentValuePath="interval"
DependentValuePath="size" IsSelectionEnabled="True">
</Charting:Chart>
方法
1) IndependentValuePath と DependentValuePath のフォントサイズを変更しますか? 上記は機能していません。
2) IndependentValuePath と DependentValuePath の色を変更しますか? 上記は機能していません。
3) 線または折れ線グラフの点に触れたときに、IndependentValuePath と DependentValuePath の値を取得する方法は?
------- 編集_2
I combine both styles you have provided:
<Charting:Chart
x:Name="LineChart" Grid.Column="1" FontSize="16" VerticalAlignment="Top"
HorizontalAlignment="Left" Margin="94,27,0,0"
FontWeight="SemiBold" Width="651" Height="506">
<Charting:LineSeries
Title="Station1" Margin="0" FontSize="16" Foreground="Blue" FontWeight="SemiBold" IndependentValuePath="Q_interval" DependentValuePath="Q_size" IsSelectionEnabled="True">
<Charting:LineSeries.Style>
(1)
<Style TargetType="Charting:LineSeries">
<Setter Property="IsTabStop" Value="False" />
<Setter Property="PolylineStyle">
<Setter.Value>
<Style TargetType="Polyline">
<Setter Property="StrokeThickness" Value="3" />
<Setter Property="StrokeMiterLimit" Value="1" />
</Style>
</Setter.Value>
</Setter>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Charting:LineSeries">
<Canvas x:Name="PlotArea">
<Polyline
Style="{TemplateBinding PolylineStyle}"
Stroke="Blue"
Points="{TemplateBinding Points}" />
</Canvas>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Charting:LineSeries.Style>
(2)
<Charting:LineSeries.DataPointStyle>
<Style TargetType="Charting:LineDataPoint">
<Setter Property="Width" Value="20" />
<Setter Property="Height" Value="20" />
<Setter Property="Background" Value="Blue"/>
<Setter Property="FontWeight" Value="SemiBold"/>
</Style>
</Charting:LineSeries.DataPointStyle>
</Charting:LineSeries>
</Charting:Chart>
(1) と (2) で、ドットとストロークを取得しました。
ありがとう