Skip to content

Commit aaaabbe

Browse files
author
NitheeshKumarThangaraj
committed
Updated the new sample for export chart
1 parent 7d8a9b5 commit aaaabbe

21 files changed

+67
-68
lines changed

WinUISampleDemo/WinUISampleDemo/App.xaml renamed to WinUIExportSample/App.xaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Application
3-
x:Class="WinUISampleDemo.App"
3+
x:Class="WinUIExportSample.App"
44
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
55
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6-
xmlns:local="using:WinUISampleDemo">
6+
xmlns:local="using:WinUIExportSample">
77
<Application.Resources>
88
<ResourceDictionary>
99
<ResourceDictionary.MergedDictionaries>

WinUISampleDemo/WinUISampleDemo/App.xaml.cs renamed to WinUIExportSample/App.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// To learn more about WinUI, the WinUI project structure,
2020
// and more about our project templates, see: http://aka.ms/winui-project-info.
2121

22-
namespace WinUISampleDemo
22+
namespace WinUIExportSample
2323
{
2424
/// <summary>
2525
/// Provides application-specific behavior to supplement the default Application class.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

WinUISampleDemo/WinUISampleDemo/MainWindow.xaml renamed to WinUIExportSample/MainWindow.xaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Window
3-
x:Class="WinUISampleDemo.MainWindow"
3+
x:Class="WinUIExportSample.MainWindow"
44
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
55
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
6+
xmlns:local="using:WinUIExportSample"
67
xmlns:chart="using:Syncfusion.UI.Xaml.Charts"
7-
xmlns:local="using:WinUISampleDemo"
88
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
99
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
1010
mc:Ignorable="d"
11-
Title="WinUISampleDemo">
11+
Title="WinUIExportSample">
1212

1313
<StackPanel Orientation="Vertical" Margin="20">
1414
<chart:SfCartesianChart Background="White" x:Name="Chart" Height="500" IsTransposed="True" Header="Daily Water Consumption Tracking">
@@ -26,15 +26,15 @@
2626
</chart:SfCartesianChart.YAxes>
2727

2828
<chart:ColumnSeries ItemsSource="{Binding DailyWaterIntake}"
29-
XBindingPath="Day"
30-
YBindingPath="Liters"
31-
ShowDataLabels="True">
29+
XBindingPath="Day"
30+
YBindingPath="Liters"
31+
ShowDataLabels="True">
3232
<chart:ColumnSeries.DataLabelSettings>
3333
<chart:CartesianDataLabelSettings Position="Inner"/>
3434
</chart:ColumnSeries.DataLabelSettings>
3535
</chart:ColumnSeries>
3636
</chart:SfCartesianChart>
3737
<Button x:Name="button" Content="Export as Image" Click="Button_Click" HorizontalAlignment="Center"
38-
VerticalAlignment="Center" Background="#0099cc" Margin="0,20,0,0"/>
38+
VerticalAlignment="Center" Background="#0099cc" Margin="0,20,0,0"/>
3939
</StackPanel>
4040
</Window>

0 commit comments

Comments
 (0)