Skip to content

Commit 7c6a8fa

Browse files
modified the KB sample
1 parent 30f0086 commit 7c6a8fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

TargetLineSample/TargetLineSample/MainPage.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
</chart:SfCartesianChart.XAxes>
2727

2828
<chart:SfCartesianChart.YAxes>
29-
<chart:NumericalAxis x:Name="Y_Axis" Minimum="0" Maximum="20000" Interval="5000" ShowMajorGridLines="False">
29+
<chart:NumericalAxis x:Name="Y_Axis" Minimum="0" Maximum="20000" Interval="5000" ShowMajorGridLines="False" PlotOffsetEnd="30">
3030
<chart:NumericalAxis.Title>
3131
<chart:ChartAxisTitle Text="Revenue"/>
3232
</chart:NumericalAxis.Title>

TargetLineSample/TargetLineSample/MainPage.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ private void Entry_TextChanged(object sender, TextChangedEventArgs e)
1818
{
1919
if (string.IsNullOrWhiteSpace(entry.Text))
2020
{
21+
viewModel.Y1 = double.MinValue;
2122
entry.Text = string.Empty;
2223
}
2324
else

0 commit comments

Comments
 (0)