diff --git a/.gitignore b/.gitignore index 60c112fae..db1be2d94 100644 --- a/.gitignore +++ b/.gitignore @@ -350,3 +350,4 @@ nuget.exe # https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming#create-strong-named-net-libraries *LiveCharts.snk build/pack.singed.ps1 +/src/skiasharp/LiveChartsCore.SkiaSharpView.Blazor/wwwroot/domInterop.js diff --git a/LiveCharts.Maui.sln b/LiveCharts.Maui.sln index 99a1f95cd..c2f1f3246 100644 --- a/LiveCharts.Maui.sln +++ b/LiveCharts.Maui.sln @@ -33,6 +33,7 @@ Global {288347E2-11DE-447E-ADF7-1C0EC789713B}.Release|Any CPU.Build.0 = Release|Any CPU {0CFF42C6-E143-48DA-A01B-16097E2769FF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0CFF42C6-E143-48DA-A01B-16097E2769FF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0CFF42C6-E143-48DA-A01B-16097E2769FF}.Debug|Any CPU.Deploy.0 = Debug|Any CPU {0CFF42C6-E143-48DA-A01B-16097E2769FF}.Release|Any CPU.ActiveCfg = Release|Any CPU {0CFF42C6-E143-48DA-A01B-16097E2769FF}.Release|Any CPU.Build.0 = Release|Any CPU {0CFF42C6-E143-48DA-A01B-16097E2769FF}.Release|Any CPU.Deploy.0 = Release|Any CPU diff --git a/LiveCharts.Uno.sln b/LiveCharts.Uno.sln deleted file mode 100644 index 472aecb50..000000000 --- a/LiveCharts.Uno.sln +++ /dev/null @@ -1,203 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.6.33829.357 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore", "src\LiveChartsCore\LiveChartsCore.csproj", "{1D9A28EC-F444-4EA4-9EC9-E416897271AE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore.SkiaSharpView", "src\skiasharp\LiveChartsCore.SkiaSharp\LiveChartsCore.SkiaSharpView.csproj", "{7B22725F-9F03-4D60-9B58-DCA36D2820AB}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore.SkiaSharpView.Uno.WinUI", "src\skiasharp\LiveChartsCore.SkiaSharpView.Uno.WinUI\LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj", "{6FAD289A-7297-4CBD-903C-E632AFC5900C}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platforms", "Platforms", "{30634DDE-9E2E-47F7-AFD3-F00F175CDF17}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPlatformSample.Mobile", "samples\UnoPlatformSample\UnoPlatformSample.Mobile\UnoPlatformSample.Mobile.csproj", "{FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPlatformSample.Skia.Gtk", "samples\UnoPlatformSample\UnoPlatformSample.Skia.Gtk\UnoPlatformSample.Skia.Gtk.csproj", "{739C38F2-4D2B-4ADF-8980-BC28F18876B3}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPlatformSample.Windows", "samples\UnoPlatformSample\UnoPlatformSample.Windows\UnoPlatformSample.Windows.csproj", "{66F715C7-7009-4957-B249-C4A3B03F02C2}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPlatformSample", "samples\UnoPlatformSample\UnoPlatformSample\UnoPlatformSample.csproj", "{1567153D-8F2C-4766-98C9-54166088B6FE}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPlatformSample.Wasm", "samples\UnoPlatformSample\UnoPlatformSample.Wasm\UnoPlatformSample.Wasm.csproj", "{59D2794E-1B4E-4AC6-89C2-F2142755EE27}" -EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ViewModelsSamples", "samples\ViewModelsSamples\ViewModelsSamples.csproj", "{55A23CDB-01A5-49A4-8EC9-6A6B8E654667}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|arm64 = Debug|arm64 - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Release|Any CPU = Release|Any CPU - Release|arm64 = Release|arm64 - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|arm64.ActiveCfg = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|arm64.Build.0 = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|x64.ActiveCfg = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|x64.Build.0 = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|x86.ActiveCfg = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Debug|x86.Build.0 = Debug|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|Any CPU.Build.0 = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|arm64.ActiveCfg = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|arm64.Build.0 = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|x64.ActiveCfg = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|x64.Build.0 = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|x86.ActiveCfg = Release|Any CPU - {1D9A28EC-F444-4EA4-9EC9-E416897271AE}.Release|x86.Build.0 = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|arm64.ActiveCfg = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|arm64.Build.0 = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|x64.ActiveCfg = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|x64.Build.0 = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|x86.ActiveCfg = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Debug|x86.Build.0 = Debug|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|Any CPU.Build.0 = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|arm64.ActiveCfg = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|arm64.Build.0 = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|x64.ActiveCfg = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|x64.Build.0 = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|x86.ActiveCfg = Release|Any CPU - {7B22725F-9F03-4D60-9B58-DCA36D2820AB}.Release|x86.Build.0 = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|arm64.ActiveCfg = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|arm64.Build.0 = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|x64.ActiveCfg = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|x64.Build.0 = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|x86.ActiveCfg = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Debug|x86.Build.0 = Debug|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|Any CPU.Build.0 = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|arm64.ActiveCfg = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|arm64.Build.0 = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|x64.ActiveCfg = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|x64.Build.0 = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|x86.ActiveCfg = Release|Any CPU - {6FAD289A-7297-4CBD-903C-E632AFC5900C}.Release|x86.Build.0 = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|arm64.ActiveCfg = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|arm64.Build.0 = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|x64.ActiveCfg = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|x64.Build.0 = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|x86.ActiveCfg = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Debug|x86.Build.0 = Debug|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|Any CPU.Build.0 = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|arm64.ActiveCfg = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|arm64.Build.0 = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|x64.ActiveCfg = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|x64.Build.0 = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|x86.ActiveCfg = Release|Any CPU - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD}.Release|x86.Build.0 = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|arm64.ActiveCfg = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|arm64.Build.0 = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|x64.ActiveCfg = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|x64.Build.0 = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|x86.ActiveCfg = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Debug|x86.Build.0 = Debug|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|Any CPU.Build.0 = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|arm64.ActiveCfg = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|arm64.Build.0 = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|x64.ActiveCfg = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|x64.Build.0 = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|x86.ActiveCfg = Release|Any CPU - {739C38F2-4D2B-4ADF-8980-BC28F18876B3}.Release|x86.Build.0 = Release|Any CPU - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|Any CPU.ActiveCfg = Debug|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|Any CPU.Build.0 = Debug|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|Any CPU.Deploy.0 = Debug|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|arm64.ActiveCfg = Debug|arm64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|arm64.Build.0 = Debug|arm64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|arm64.Deploy.0 = Debug|arm64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|x64.ActiveCfg = Debug|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|x64.Build.0 = Debug|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|x64.Deploy.0 = Debug|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|x86.ActiveCfg = Debug|x86 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|x86.Build.0 = Debug|x86 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Debug|x86.Deploy.0 = Debug|x86 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|Any CPU.ActiveCfg = Release|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|Any CPU.Build.0 = Release|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|Any CPU.Deploy.0 = Release|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|arm64.ActiveCfg = Release|arm64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|arm64.Build.0 = Release|arm64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|arm64.Deploy.0 = Release|arm64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|x64.ActiveCfg = Release|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|x64.Build.0 = Release|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|x64.Deploy.0 = Release|x64 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|x86.ActiveCfg = Release|x86 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|x86.Build.0 = Release|x86 - {66F715C7-7009-4957-B249-C4A3B03F02C2}.Release|x86.Deploy.0 = Release|x86 - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|arm64.ActiveCfg = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|arm64.Build.0 = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|x64.ActiveCfg = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|x64.Build.0 = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|x86.ActiveCfg = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Debug|x86.Build.0 = Debug|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|Any CPU.Build.0 = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|arm64.ActiveCfg = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|arm64.Build.0 = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|x64.ActiveCfg = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|x64.Build.0 = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|x86.ActiveCfg = Release|Any CPU - {1567153D-8F2C-4766-98C9-54166088B6FE}.Release|x86.Build.0 = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|Any CPU.Build.0 = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|arm64.ActiveCfg = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|arm64.Build.0 = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|x64.ActiveCfg = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|x64.Build.0 = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|x86.ActiveCfg = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Debug|x86.Build.0 = Debug|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|Any CPU.ActiveCfg = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|Any CPU.Build.0 = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|arm64.ActiveCfg = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|arm64.Build.0 = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|x64.ActiveCfg = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|x64.Build.0 = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|x86.ActiveCfg = Release|Any CPU - {59D2794E-1B4E-4AC6-89C2-F2142755EE27}.Release|x86.Build.0 = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|Any CPU.Build.0 = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|arm64.ActiveCfg = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|arm64.Build.0 = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|x64.ActiveCfg = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|x64.Build.0 = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|x86.ActiveCfg = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Debug|x86.Build.0 = Debug|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|Any CPU.ActiveCfg = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|Any CPU.Build.0 = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|arm64.ActiveCfg = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|arm64.Build.0 = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|x64.ActiveCfg = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|x64.Build.0 = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|x86.ActiveCfg = Release|Any CPU - {55A23CDB-01A5-49A4-8EC9-6A6B8E654667}.Release|x86.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {FBB702F5-6B5A-4AE4-9DA8-85EBD95CB9FD} = {30634DDE-9E2E-47F7-AFD3-F00F175CDF17} - {739C38F2-4D2B-4ADF-8980-BC28F18876B3} = {30634DDE-9E2E-47F7-AFD3-F00F175CDF17} - {66F715C7-7009-4957-B249-C4A3B03F02C2} = {30634DDE-9E2E-47F7-AFD3-F00F175CDF17} - {59D2794E-1B4E-4AC6-89C2-F2142755EE27} = {30634DDE-9E2E-47F7-AFD3-F00F175CDF17} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {22556FAD-0868-4B3C-A205-85DF6407972B} - EndGlobalSection -EndGlobal diff --git a/LiveCharts.sln b/LiveCharts.sln index 7598fc19c..b6f0c81f7 100644 --- a/LiveCharts.sln +++ b/LiveCharts.sln @@ -80,8 +80,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "WinUI", "WinUI", "{39D52D6D EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinUISample", "samples\WinUISample\WinUISample\WinUISample.csproj", "{BACC7B19-20AB-41B1-AF7C-AB0682E64184}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore.SkiaSharpView.Uno.WinUI", "src\skiasharp\LiveChartsCore.SkiaSharpView.Uno.WinUI\LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj", "{E264730C-19FF-4451-B83F-1A0633622F80}" -EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QuestPDFSample", "samples\QuestPDFSample\QuestPDFSample.csproj", "{763F1951-D833-4579-A592-1FFD960FD634}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "UnoPlatform", "UnoPlatform", "{5E27972E-DFEA-4825-8037-D26041333C5B}" @@ -108,6 +106,16 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore.SkiaSharpVie EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "UnoPlatformSample.DataContracts", "samples\UnoPlatformSample\UnoPlatformSample.DataContracts\UnoPlatformSample.DataContracts.csproj", "{03BDCD7C-5428-450B-A757-531AFD36C37E}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore.Behaviours", "src\LiveChartsCore.Behaviours\LiveChartsCore.Behaviours.csproj", "{F7B300BA-687D-4420-B658-0D1FA7F981EB}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LiveChartsCore.SkiaSharpView.Uno.WinUI", "src\skiasharp\LiveChartsCore.SkiaSharpView.Uno.WinUI\LiveChartsCore.SkiaSharpView.Uno.WinUI.csproj", "{407D2FDF-11A1-44B7-91AE-D48D37C0A65E}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AvaloniaSample.Desktop", "samples\AvaloniaSample\Platforms\AvaloniaSample.Desktop\AvaloniaSample.Desktop.csproj", "{9FE9808D-0ADD-4D30-968D-573E229781CA}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Platforms", "Platforms", "{275DDC84-8855-4AE4-8C91-423030EA6368}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AvaloniaSample.Android", "samples\AvaloniaSample\Platforms\AvaloniaSample.Android\AvaloniaSample.Android.csproj", "{6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Ad-Hoc|Any CPU = Ad-Hoc|Any CPU @@ -1590,62 +1598,6 @@ Global {BACC7B19-20AB-41B1-AF7C-AB0682E64184}.Release|x86.ActiveCfg = Release|x86 {BACC7B19-20AB-41B1-AF7C-AB0682E64184}.Release|x86.Build.0 = Release|x86 {BACC7B19-20AB-41B1-AF7C-AB0682E64184}.Release|x86.Deploy.0 = Release|x86 - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|x64.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Ad-Hoc|x86.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|Any CPU.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|ARM.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|ARM.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|ARM64.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|ARM64.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|iPhone.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|iPhone.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|x64.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|x64.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|x86.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.AppStore|x86.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|ARM.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|ARM.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|ARM64.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|ARM64.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|iPhone.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|iPhone.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|x64.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|x64.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|x86.ActiveCfg = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Debug|x86.Build.0 = Debug|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|Any CPU.Build.0 = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|ARM.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|ARM.Build.0 = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|ARM64.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|ARM64.Build.0 = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|iPhone.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|iPhone.Build.0 = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|iPhoneSimulator.Build.0 = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|x64.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|x64.Build.0 = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|x86.ActiveCfg = Release|Any CPU - {E264730C-19FF-4451-B83F-1A0633622F80}.Release|x86.Build.0 = Release|Any CPU {763F1951-D833-4579-A592-1FFD960FD634}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU {763F1951-D833-4579-A592-1FFD960FD634}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU {763F1951-D833-4579-A592-1FFD960FD634}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU @@ -2290,6 +2242,231 @@ Global {03BDCD7C-5428-450B-A757-531AFD36C37E}.Release|x64.Build.0 = Release|Any CPU {03BDCD7C-5428-450B-A757-531AFD36C37E}.Release|x86.ActiveCfg = Release|Any CPU {03BDCD7C-5428-450B-A757-531AFD36C37E}.Release|x86.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|ARM.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|ARM64.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|ARM64.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|iPhone.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|x64.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|x64.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|x86.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.AppStore|x86.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|ARM.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|ARM.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|ARM64.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|iPhone.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|x64.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|x64.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|x86.ActiveCfg = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Debug|x86.Build.0 = Debug|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|Any CPU.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|ARM.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|ARM.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|ARM64.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|ARM64.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|iPhone.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|iPhone.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|x64.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|x64.Build.0 = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|x86.ActiveCfg = Release|Any CPU + {F7B300BA-687D-4420-B658-0D1FA7F981EB}.Release|x86.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|ARM.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|ARM64.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|ARM64.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|iPhone.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|x64.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|x64.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|x86.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.AppStore|x86.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|Any CPU.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|ARM.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|ARM.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|ARM64.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|iPhone.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|x64.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|x64.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|x86.ActiveCfg = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Debug|x86.Build.0 = Debug|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|Any CPU.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|Any CPU.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|ARM.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|ARM.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|ARM64.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|ARM64.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|iPhone.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|iPhone.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|x64.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|x64.Build.0 = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|x86.ActiveCfg = Release|Any CPU + {407D2FDF-11A1-44B7-91AE-D48D37C0A65E}.Release|x86.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|ARM.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|ARM64.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|ARM64.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|iPhone.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|x64.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|x64.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|x86.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.AppStore|x86.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|ARM.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|ARM.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|ARM64.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|iPhone.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|x64.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|x64.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|x86.ActiveCfg = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Debug|x86.Build.0 = Debug|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|Any CPU.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|ARM.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|ARM.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|ARM64.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|ARM64.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|iPhone.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|iPhone.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|x64.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|x64.Build.0 = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|x86.ActiveCfg = Release|Any CPU + {9FE9808D-0ADD-4D30-968D-573E229781CA}.Release|x86.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|ARM64.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|ARM64.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|ARM.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|ARM64.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|ARM64.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|iPhone.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|x64.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|x64.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|x86.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.AppStore|x86.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|Any CPU.Deploy.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|ARM.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|ARM.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|ARM64.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|ARM64.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|iPhone.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|x64.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|x64.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|x86.ActiveCfg = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Debug|x86.Build.0 = Debug|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|Any CPU.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|ARM.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|ARM.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|ARM64.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|ARM64.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|iPhone.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|iPhone.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|x64.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|x64.Build.0 = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|x86.ActiveCfg = Release|Any CPU + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -2331,6 +2508,9 @@ Global {28F4B811-A3DB-44A9-BB38-F072EE3E20F5} = {E8C464D7-B1F8-4331-9DCD-3A6E87503A0E} {CEFD8CA2-64E7-4DF3-AC4D-601A88FC0F1E} = {2F6A1323-9B22-4AFC-9199-A705B72B7885} {03BDCD7C-5428-450B-A757-531AFD36C37E} = {C9A1646F-FABA-48C3-A48B-B4A359D66105} + {9FE9808D-0ADD-4D30-968D-573E229781CA} = {275DDC84-8855-4AE4-8C91-423030EA6368} + {275DDC84-8855-4AE4-8C91-423030EA6368} = {2F6A1323-9B22-4AFC-9199-A705B72B7885} + {6D29698D-7225-4BCE-A3FF-EBB1CB08AADA} = {275DDC84-8855-4AE4-8C91-423030EA6368} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution SolutionGuid = {2040E57B-591B-4849-BD29-B4583C81F167} diff --git a/docs/_assets/pieMaxRadialCW.png b/docs/_assets/pieMaxRadialCW.png new file mode 100644 index 000000000..a6dc19707 Binary files /dev/null and b/docs/_assets/pieMaxRadialCW.png differ diff --git a/docs/_assets/pieOuterRadiusOffset.png b/docs/_assets/pieOuterRadiusOffset.png new file mode 100644 index 000000000..7e6bda95f Binary files /dev/null and b/docs/_assets/pieOuterRadiusOffset.png differ diff --git a/docs/_assets/tooltip-custom-template.gif b/docs/_assets/tooltip-custom-template.gif new file mode 100644 index 000000000..5a40c64d6 Binary files /dev/null and b/docs/_assets/tooltip-custom-template.gif differ diff --git a/docs/cartesianChart/overview.md b/docs/cartesianChart/overview.md index 16dd28eb5..c064f93c0 100644 --- a/docs/cartesianChart/overview.md +++ b/docs/cartesianChart/overview.md @@ -119,7 +119,7 @@ any image bellow is a link to an article explaining more about them.
-series +series
Step line series
@@ -154,11 +154,32 @@ any image bellow is a link to an article explaining more about them.
-series +series
Stacked step line series
+ +
+series +
Box series
+
+
+ + +
+series +
Error series
+
+
+ + +
+series +
Bubble series
+
+
+ ## Axes A `CartesianChart` has 2 axes, the `YAxis` and the `XAxis` properties, an [IAxis]({{ website_url }}/api/{{ version}}/LiveChartsCore.Kernel.Sketches.ICartesianAxis) diff --git a/docs/cartesianChart/tooltips.md b/docs/cartesianChart/tooltips.md index 7ac4e88a0..f50f2c803 100644 --- a/docs/cartesianChart/tooltips.md +++ b/docs/cartesianChart/tooltips.md @@ -8,6 +8,14 @@ Tooltips are popups that help the user to read a chart as the pointer moves. ![tooltips]({{ assets_url }}/docs/_assets/tooltips.gif) +## Behaviour + +On **Windows** or **MacOS** you can move the pointer over the chart to display the tooltip, tooltips will be closed when the +pointer leaves the chart area. + +On **Android** or **iOS** slide your finger over the chart to display the tooltip, the tooltip will be closed when the finger +goes up. + ## TooltipPosition property You can place a tooltip at `Top`, `Bottom`, `Left`, `Right`, `Center` or `Hidden` positions, for now @@ -249,4 +257,4 @@ a custom control to render tooltips in out charts using the LiveCharts API. {{~ render_params_file_as_code this "~/../samples/$PlatformSamplesFolder/General/TemplatedTooltips/$PlatformViewFile" ~}} -![custom tooltip]({{ assets_url }}/docs/_assets/tooltip-custom-template.png) \ No newline at end of file +![custom tooltip]({{ assets_url }}/docs/_assets/tooltip-custom-template.gif) diff --git a/docs/piechart/pieseries.md b/docs/piechart/pieseries.md index caaa23875..137a4ebe2 100644 --- a/docs/piechart/pieseries.md +++ b/docs/piechart/pieseries.md @@ -191,28 +191,42 @@ It is the distance in pixels between the center of the control and the pie slice ![image]({{ assets_url }}/docs/_assets/piepushout.png) +## MaxRadialColumnWidth + +Sets the maximum value a radial column can take in pixels. + +
var pieSeries = new PieSeries<int>
+{
+    Values = new [] { ... },
+    MaxRadialColumnWidth = 50 // mark
+};
+ +![image]({{ assets_url }}/docs/_assets/pieMaxRadialCW.png) + ## InnerRadius property -The inner radius of the slice in pixels. +The inner radius of the slice in pixels, it is similar to the `MaxRadialColumnWidth` property, +both are useful to create doughnut charts, the difference is that `MaxRadialColumnWidth` is more flexible +on different screen sizes.
var pieSeries = new PieSeries<int>
 {
     Values = new [] { ... },
-    InnerRadius = 50 // mark 
+    InnerRadius = 50 // mark
 };
![image]({{ assets_url }}/docs/_assets/pieInnerRadius.png) -## MaxOuterRadius property +## OuterRadiusOffset property -Specifies the max radius (in percentage) the slice can take, the value goes from 0 to 1, where 1 is the full available radius and 0 is none, default is 1. +It is the distance from the maximum radius available to the end of the slice in pixels.
var pieSeries = new PieSeries<int>
 {
     Values = new [] { ... },
-    MaxOuterRadius = 0.8 // mark
+    OuterRadiusOffset = 20 // mark
 };
-![image]({{ assets_url }}/docs/_assets/piemaxoutter.png) +![image]({{ assets_url }}/docs/_assets/pieOuterRadiusOffset.png) -{{ render this "~/shared/series2.md" }} \ No newline at end of file +{{ render this "~/shared/series2.md" }} diff --git a/docs/samples/events/cartesian/template.md b/docs/samples/events/cartesian/template.md index 412ef452b..6ed80e316 100644 --- a/docs/samples/events/cartesian/template.md +++ b/docs/samples/events/cartesian/template.md @@ -3,7 +3,7 @@ {{~ if xaml ~}} :::info -The `[ObservableObject]`, `[ObservableProperty]` and `[ICommand]` attributes come from the +The `[ObservableObject]`, `[ObservableProperty]` and `[RelayCommand]` attributes come from the [CommunityToolkit.Mvvm](https://www.nuget.org/packages/CommunityToolkit.Mvvm/) package, you can read more about it [here]({{ website_url }}/docs/{{ platform }}/{{ version }}/About.About%20this%20samples). ::: @@ -113,4 +113,4 @@ You could also detect the pointer down events/commands at the chart level but si {{~ end ~}} -{{~ end ~}} \ No newline at end of file +{{~ end ~}} diff --git a/docs/samples/general/customTooltips/template.md b/docs/samples/general/customTooltips/template.md index 10f2ca0cb..e128f9aeb 100644 --- a/docs/samples/general/customTooltips/template.md +++ b/docs/samples/general/customTooltips/template.md @@ -1,5 +1,12 @@ # Customize default tooltips +The next article is a quick guide on how to customize the default tooltip,if you want to learn more you can read the full +article: + + +Go to the full tooltips article + + You can quickly change the position, the font, the text size or the background color: ## View diff --git a/docs/samples/lines/zoom/selection-zoom.gif b/docs/samples/lines/zoom/selection-zoom.gif new file mode 100644 index 000000000..fb8c8ff2f Binary files /dev/null and b/docs/samples/lines/zoom/selection-zoom.gif differ diff --git a/docs/samples/lines/zoom/template.md b/docs/samples/lines/zoom/template.md index b82eb6c5d..5242112bb 100644 --- a/docs/samples/lines/zoom/template.md +++ b/docs/samples/lines/zoom/template.md @@ -1,49 +1,44 @@ {{ render this "~/shared/genericSampleJustGifHeader.md" }} Zooming and panning is disabled by default, you can enable it by setting the `ZoomMode` property, this property is of type -[ZoomAndPanMode](https://lvcharts.com/api/{{ version }}/LiveChartsCore.Measure.ZoomAndPanMode) and the options are: +[ZoomAndPanMode](https://lvcharts.com/api/{{ version }}/LiveChartsCore.Measure.ZoomAndPanMode), this type is a flag enum +it means that you can combine the options as you need, you can learn more about zoomming and panning +[here](https://lvcharts.com/docs/{{ platform }}/{{ version }}/CartesianChart.Axes%20properties#zooming-and-panning). -- `X`: Enables zooming and panning on the X axis. -- `Y`: Enables zooming and panning on the Y axis. -- `Both`: Enables zooming and panning on both axes. -- `None`: Disables zooming and panning. -- `PanX`: Enables panning on the X axis. -- `PanY`: Enables panning on the Y axis. -- `ZoomX`: Enables zooming on the X axis. -- `ZoomY`: Enables zooming on the Y axis. -The [ZoomAndPanMode](https://lvcharts.com/api/{{ version }}/LiveChartsCore.Measure.ZoomAndPanMode) type is a flag enum, -so you can combine the options, for example, if you want to enable zooming on the X axis and panning on the Y axis you can -set the `ZoomMode` property to `ZoomAndPanMode.ZoomX | ZoomAndPanMode.PanY`. +{{~ if wpf || winforms || winui || eto ~}} -There is also the `InvertPanningPointerTrigger` flag, when this flag is present the panning will be triggered using -the right click on desktop devices and the touch-and-hold gesture on touch devices, the `zoom by section` feature will be -triggered to the left click on desktop devices and the touch-and-hold gesture on touch devices. +:::tip +Use the mouse wheel to zoom in/out, hold click and drag to move the view (panning). +::: + +{{~ end ~}} -You can learn more about zooming an panning [here](https://lvcharts.com/docs/{{ platform }}/{{ version }}/CartesianChart.Axes%20properties#zooming-and-panning). -{{~ if desktop ~}} +{{~ if maui || uno || avalonia ~}} :::tip -On **Windows**, use the mouse wheel to zoom in/out, hold click and drag to move the view (panning). On **MacOS** -pinch the trackpad in/out or slide vertically a finger(s) on a magic mouse to zoom in/out, hold click and drag to move the view (panning). +On **Windows**, use the mouse wheel to zoom in/out, hold click and drag to move the view (panning). ::: -{{~ end ~}} - -{{~ if mobile ~}} +:::tip +On **MacOS** slide vertically a finger(s) on a magic mouse to zoom in/out, hold click and drag to move the view (panning). +::: :::tip -On touch devices, pinch the screen in/out to zoom, hold tap and drag to move the view (panning). +On **Android** or **iOS**, pinch the screen in/out to zoom, hold tap and drag to move the view (panning). ::: {{~ end ~}} -## View model -``` -{{ full_name | get_vm_from_docs }} -``` +{{~ if uno || avalonia || blazor ~}} + +:::tip +On the **Browser**, use the mouse wheel to zoom in/out, hold click and drag to move the view (panning) (no touch devices yet). +::: + +{{~ end ~}} {{~ if xaml ~}} ## XAML @@ -53,7 +48,7 @@ On touch devices, pinch the screen in/out to zoom, hold tap and drag to move the ## Form code behind {{~ end ~}} -{{~ if blazor~}} +{{~ if blazor ~}} ## HTML {{~ end~}} @@ -61,4 +56,44 @@ On touch devices, pinch the screen in/out to zoom, hold tap and drag to move the {{ full_name | get_view_from_docs }} ``` +# Zoom by selection + +You can also zoom by selection, this is a feature that allows you to select an area in the chart and zoom in to that area, +when zooming is enabled, this feature is also enabled by default, you can also customize the trigger of this function, you can +find more info [here](https://lvcharts.com/docs/{{ platform }}/{{ version }}/CartesianChart.Axes%20properties#zooming-and-panning). + +
+ sample image +
+ +{{~ if wpf || winforms || winui || eto ~}} + +:::tip +Right click on the chart, hold and drag to select an area on the chart. +::: + +{{~ end ~}} + + +{{~ if maui || uno || avalonia ~}} + +:::tip +On **Windows**, right click on the chart, hold and drag to select an area on the chart. +::: + +:::tip +On **MacOS**, **Android** or **iOS** double click/tap the chart, hold the last click/tap and drag to select an area. +::: + +{{~ end ~}} + + +{{~ if uno || avalonia || blazor ~}} + +:::tip +On the **Browser**, right click on the chart, hold and drag to select an area on the chart (no touch devices yet). +::: + +{{~ end ~}} + {{ render this "~/shared/relatedTo.md" }} diff --git a/docs/shared/genericSampleSimpleHeader.md b/docs/shared/genericSampleSimpleHeader.md index 7dd9f7f77..6b01a90a3 100644 --- a/docs/shared/genericSampleSimpleHeader.md +++ b/docs/shared/genericSampleSimpleHeader.md @@ -3,7 +3,7 @@ {{~ if xaml ~}} :::info -The `[ObservableObject]`, `[ObservableProperty]` and `[ICommand]` attributes come from the +The `[ObservableObject]`, `[ObservableProperty]` and `[RelayCommand]` attributes come from the [CommunityToolkit.Mvvm](https://www.nuget.org/packages/CommunityToolkit.Mvvm/) package, you can read more about it [here]({{ website_url }}/docs/{{ platform }}/{{ version }}/About.About%20this%20samples). ::: @@ -39,4 +39,4 @@ this sample also uses a ViewModel to populate the properties of the control(s) i
sample image -
\ No newline at end of file + diff --git a/docs/shared/series2.md b/docs/shared/series2.md index 472cd8cbd..a83aad6e6 100644 --- a/docs/shared/series2.md +++ b/docs/shared/series2.md @@ -1,153 +1,12 @@ ## Plotting custom types -You can teach LiveCharts to plot any type as soon as you let the library how to handle that object, there are -two ways of doing so: *Mappers* or *implementing `IChartEntity`*, mappers are quick to setup, implementing -`IChartEntity` is more performant and is the recommended way. - -**Mappers** - -```c# -public record TempSample(int Time, double Temperature, string Unit); - -var chart = new SKCartesianChart -{ - Width = 900, - Height = 600, - Series = new[] - { - new {{ name | to_title_case_no_spaces }} - { - Mapping = (sample, chartPoint) => - { - // use temperature as primary value (normally Y) - chartPoint.PrimaryValue = sample.Temperature; - // use time as secondary value (normally X) - chartPoint.SecondaryValue = sample.Time; - }, - Values = samples - } - }, - XAxes = new[] { new Axis { Labeler = value => $"{value} seconds" } }, - YAxes = new[] { new Axis { Labeler = value => $"{value} °C" } } -}; - -// ------------------------------------------------------------------- -// IMPORTANT NOTE -// ------------------------------------------------------------------- -// There are 2 special plots that use more than X and Y coordinates. - -// Weighted plots: HeatMaps and Bubble charts use 3 coordinates, X, Y and Weight. -// Mapping = (sample, chartPoint) => -// { -// chartPoint.PrimaryValue = sample.X; -// chartPoint.SecondaryValue = sample.Y; -// chartPoint.TertiaryValue = sample.Weigth; -// } - -// While financial Points use 5. -// Coordinate = new Coordinate(High, X, Open, Close, Low); -// Mapping = (sample, chartPoint) => -// { -// chartPoint.PrimaryValue = sample.High; -// chartPoint.SecondaryValue = sample.X; -// chartPoint.TertiaryValue = sample.Open; -// chartPoint.QuaternaryValue = sample.Close; -// chartPoint.QuinaryValue = sample.Low; -//} -``` - -**Implementing IChartEntity** -```c# -var chart = new SKCartesianChart -{ - Width = 900, - Height = 600, - Series = new[] - { - new LineSeries - { - Values = samples - } - }, - XAxes = new[] { new Axis { Labeler = value => $"{value} seconds" } }, - YAxes = new[] { new Axis { Labeler = value => $"{value} °C" } } -}; - -// this object uses the CommunityToolkit.Mvvm to implement INotifyPropertyChanged also -public partial class TempSample : ObservableObject, IChartEntity -{ - [ObservableProperty] - private int _time; - - [ObservableProperty] - private double _temperature; - - // Use the coordinate property to let LiveCharts know the position of the point. - public Coordinate Coordinate { get; protected set; } - - // The meta data property is used by LiveCharts to store info about the plot. - public ChartEntityMetaData? MetaData { get; set; } - - protected override void OnPropertyChanged(PropertyChangedEventArgs e) - { - Coordinate = new(Time, Temperature); - base.OnPropertyChanged(e); - } -} - -// ------------------------------------------------------------------- -// IMPORTANT NOTE -// ------------------------------------------------------------------- -// There are 2 special plots that use more than X and Y coordinates. - -// Weited plots: HeatMaps and Bubble charts use 3 coordinates, X, Y and Weight. -// Coordinate = new Coordinate(X, Y, Weight); -// https://github.com/beto-rodriguez/LiveCharts2/blob/master/src/LiveChartsCore/Defaults/WeightedPoint.cs - -// While financial Points use 5. -// Coordinate = new Coordinate(High, X, Open, Close, Low); -// https://github.com/beto-rodriguez/LiveCharts2/blob/master/src/LiveChartsCore/Defaults/FinancialPoint.cs -``` - - -See the full custom types article - +You can plot any type of data, please see the [mappers article]({{ website_url }}/docs/{{ platform }}/{{ version }}/Overview.Mappers) for more information. ## Custom geometries -You can use any geometry to represent a point in a series. - -
Series = new List<ISeries>
-{
-    // use the second argument type to specify the geometry to draw for every point
-    // there are already many predefined geometries in the
-    // LiveChartsCore.SkiaSharpView.Drawing.Geometries namespace
-    new {{ name  | to_title_case_no_spaces }}<double, RectangleGeometry>
-    {
-        Values = new double[] { 3, 3, -3, -2, -4, -3, -1 }
-    },
-
-    // you can also define your own SVG geometry
-    // MyGeometry class let us change the Path at runtime
-    // Click on the on any point to change the path.
-    // You can find the MyGeometry.cs file below
-    new {{ name  | to_title_case_no_spaces }}<double, MyGeometry>
-    {
-        Values = new double[] { -2, 2, 1, 3, -1, 4, 3 }
-    }
-
-    // Note: Depending on the series type, the geometry could require to satisfy some constrains
-};
-
-public class MyGeometry : LiveChartsCore.SkiaSharpView.Drawing.Geometries.SVGPathGeometry
-{
-    public MyGeometry()
-        : base(SVGPoints.Star)
-    { 
-        // the LiveChartsCore.SkiaSharpView.SVGPoints contains many predefined SVG paths
-        // you can also pass your own path there.
-    }
-}
+You can also customize the geometry for each point in a series, you can use the geometries defined on LiveCharts, SVG geometries +or draw your own using the SkiaSharp API, if you want to learn more please take a look at +[this article]({{ website_url }}/docs/{{ platform }}/{{ version }}/samples.lines.custom). ## ZIndex property @@ -167,7 +26,7 @@ If this property is not set, the library will set it according to the series typ
new LineSeries<double>
 {
-    DataPadding = new System.Drawing.PointF(0, 0),
+    DataPadding = new LvcPoint(0, 0),
     Values = new ObservableCollection { 2, 1, 3, 5, 3, 4, 6 },
     GeometryStroke = null,
     GeometryFill = null,
@@ -182,7 +41,7 @@ But you can remove the padding only from an axis, for example:
 
 
new LineSeries<double>
 {
-    DataPadding = new System.Drawing.PointF(0.5f, 0),
+    DataPadding = new LvcPoint(0.5f, 0),
     Values = new ObservableCollection<double> { 2, 1, 3, 5, 3, 4, 6 },
     GeometryStroke = null,
     GeometryFill = null,
@@ -195,11 +54,11 @@ Or you can increase the distance:
 
 
new LineSeries<double>
 {
-    DataPadding = new System.Drawing.PointF(2, 2),
+    DataPadding = new LvcPoint(2, 2),
     Values = new ObservableCollection<double> { 2, 1, 3, 5, 3, 4, 6 },
     GeometryStroke = null,
     GeometryFill = null,
     Fill = null
 }
-![image]({{ assets_url }}/docs/_assets/1.8.padding22.png) \ No newline at end of file +![image]({{ assets_url }}/docs/_assets/1.8.padding22.png) diff --git a/samples/AvaloniaSample/App.axaml.cs b/samples/AvaloniaSample/App.axaml.cs index 73afe2394..4ea53cff0 100644 --- a/samples/AvaloniaSample/App.axaml.cs +++ b/samples/AvaloniaSample/App.axaml.cs @@ -8,7 +8,7 @@ namespace AvaloniaSample; -public class App : Application +public partial class App : Application { public override void Initialize() { @@ -47,6 +47,10 @@ public override void OnFrameworkInitializationCompleted() { desktop.MainWindow = new MainWindow(); } + else if (ApplicationLifetime is ISingleViewApplicationLifetime singleViewPlatform) + { + singleViewPlatform.MainView = new MainView(); + } base.OnFrameworkInitializationCompleted(); } diff --git a/samples/AvaloniaSample/Assets/avalonia-logo.ico b/samples/AvaloniaSample/Assets/avalonia-logo.ico new file mode 100644 index 000000000..da8d49ff9 Binary files /dev/null and b/samples/AvaloniaSample/Assets/avalonia-logo.ico differ diff --git a/samples/AvaloniaSample/AvaloniaSample.csproj b/samples/AvaloniaSample/AvaloniaSample.csproj index 08fda4dd9..3427c876d 100644 --- a/samples/AvaloniaSample/AvaloniaSample.csproj +++ b/samples/AvaloniaSample/AvaloniaSample.csproj @@ -1,27 +1,31 @@ - WinExe - net6.0 + net7.0 enable - false 11.0 - - false - + + + + + - + + + + + - - + + + + + - - - diff --git a/samples/AvaloniaSample/Axes/ColorsAndPosition/View.axaml.cs b/samples/AvaloniaSample/Axes/ColorsAndPosition/View.axaml.cs index 7efac0678..e64890dce 100644 --- a/samples/AvaloniaSample/Axes/ColorsAndPosition/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/ColorsAndPosition/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.ColorsAndPosition; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/Crosshairs/View.axaml.cs b/samples/AvaloniaSample/Axes/Crosshairs/View.axaml.cs index 8f805927d..449fe763c 100644 --- a/samples/AvaloniaSample/Axes/Crosshairs/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/Crosshairs/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.Crosshairs; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/CustomSeparatorsInterval/View.axaml.cs b/samples/AvaloniaSample/Axes/CustomSeparatorsInterval/View.axaml.cs index 1de303fe8..630834ba9 100644 --- a/samples/AvaloniaSample/Axes/CustomSeparatorsInterval/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/CustomSeparatorsInterval/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.CustomSeparatorsInterval; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/DateTimeScaled/View.axaml.cs b/samples/AvaloniaSample/Axes/DateTimeScaled/View.axaml.cs index 42542e3e8..cad1a9cdc 100644 --- a/samples/AvaloniaSample/Axes/DateTimeScaled/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/DateTimeScaled/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.DateTimeScaled; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/LabelsFormat/View.axaml.cs b/samples/AvaloniaSample/Axes/LabelsFormat/View.axaml.cs index bbc1947a0..1b7e31285 100644 --- a/samples/AvaloniaSample/Axes/LabelsFormat/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/LabelsFormat/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.LabelsFormat; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/LabelsFormat2/View.axaml.cs b/samples/AvaloniaSample/Axes/LabelsFormat2/View.axaml.cs index de587ccd6..96ce7ec71 100644 --- a/samples/AvaloniaSample/Axes/LabelsFormat2/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/LabelsFormat2/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.LabelsFormat2; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/LabelsRotation/View.axaml.cs b/samples/AvaloniaSample/Axes/LabelsRotation/View.axaml.cs index 0cb4aef40..cd768d1b5 100644 --- a/samples/AvaloniaSample/Axes/LabelsRotation/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/LabelsRotation/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.LabelsRotation; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/Logarithmic/View.axaml.cs b/samples/AvaloniaSample/Axes/Logarithmic/View.axaml.cs index 2901e9041..c4b7122b2 100644 --- a/samples/AvaloniaSample/Axes/Logarithmic/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/Logarithmic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.Logarithmic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/Multiple/View.axaml.cs b/samples/AvaloniaSample/Axes/Multiple/View.axaml.cs index 68ee285ec..ad48b6e7f 100644 --- a/samples/AvaloniaSample/Axes/Multiple/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/Multiple/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.Multiple; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/NamedLabels/View.axaml.cs b/samples/AvaloniaSample/Axes/NamedLabels/View.axaml.cs index 03eee69e7..08f9fcdc7 100644 --- a/samples/AvaloniaSample/Axes/NamedLabels/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/NamedLabels/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.NamedLabels; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/Paging/View.axaml.cs b/samples/AvaloniaSample/Axes/Paging/View.axaml.cs index a790436a7..0261cc76a 100644 --- a/samples/AvaloniaSample/Axes/Paging/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/Paging/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.Paging; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/Shared/View.axaml.cs b/samples/AvaloniaSample/Axes/Shared/View.axaml.cs index 089125c39..fd55c7cf0 100644 --- a/samples/AvaloniaSample/Axes/Shared/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/Shared/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.Shared; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/Style/View.axaml.cs b/samples/AvaloniaSample/Axes/Style/View.axaml.cs index 15418528d..b981c8c17 100644 --- a/samples/AvaloniaSample/Axes/Style/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/Style/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.Style; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Axes/TimeSpanScaled/View.axaml.cs b/samples/AvaloniaSample/Axes/TimeSpanScaled/View.axaml.cs index fd6a36efe..731446ebe 100644 --- a/samples/AvaloniaSample/Axes/TimeSpanScaled/View.axaml.cs +++ b/samples/AvaloniaSample/Axes/TimeSpanScaled/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Axes.TimeSpanScaled; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/AutoUpdate/View.axaml.cs b/samples/AvaloniaSample/Bars/AutoUpdate/View.axaml.cs index 055594a03..23f7321e7 100644 --- a/samples/AvaloniaSample/Bars/AutoUpdate/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/AutoUpdate/View.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample.Bars.AutoUpdate; -public class View : UserControl +public partial class View : UserControl { private bool? isStreaming = false; diff --git a/samples/AvaloniaSample/Bars/Basic/View.axaml.cs b/samples/AvaloniaSample/Bars/Basic/View.axaml.cs index 4e6cd8647..5c0ecc324 100644 --- a/samples/AvaloniaSample/Bars/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/Custom/View.axaml.cs b/samples/AvaloniaSample/Bars/Custom/View.axaml.cs index d8197275a..0e126c8cc 100644 --- a/samples/AvaloniaSample/Bars/Custom/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/Custom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.Custom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/DelayedAnimation/View.axaml.cs b/samples/AvaloniaSample/Bars/DelayedAnimation/View.axaml.cs index 3beaafeac..a71e7abab 100644 --- a/samples/AvaloniaSample/Bars/DelayedAnimation/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/DelayedAnimation/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.DelayedAnimation; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/Layered/View.axaml.cs b/samples/AvaloniaSample/Bars/Layered/View.axaml.cs index 2a2aedc94..a261d3c25 100644 --- a/samples/AvaloniaSample/Bars/Layered/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/Layered/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.Layered; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/Race/View.axaml.cs b/samples/AvaloniaSample/Bars/Race/View.axaml.cs index 4a1486988..5ba20dabb 100644 --- a/samples/AvaloniaSample/Bars/Race/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/Race/View.axaml.cs @@ -6,7 +6,7 @@ namespace AvaloniaSample.Bars.Race; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/RowsWithLabels/View.axaml.cs b/samples/AvaloniaSample/Bars/RowsWithLabels/View.axaml.cs index 96935c16c..353304bc6 100644 --- a/samples/AvaloniaSample/Bars/RowsWithLabels/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/RowsWithLabels/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.RowsWithLabels; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/Spacing/View.axaml.cs b/samples/AvaloniaSample/Bars/Spacing/View.axaml.cs index 717c5802f..586159643 100644 --- a/samples/AvaloniaSample/Bars/Spacing/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/Spacing/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.Spacing; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Bars/WithBackground/View.axaml.cs b/samples/AvaloniaSample/Bars/WithBackground/View.axaml.cs index 0fea2024b..859c74190 100644 --- a/samples/AvaloniaSample/Bars/WithBackground/View.axaml.cs +++ b/samples/AvaloniaSample/Bars/WithBackground/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Bars.WithBackground; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Box/Basic/View.axaml.cs b/samples/AvaloniaSample/Box/Basic/View.axaml.cs index 7ad074201..7298bdddc 100644 --- a/samples/AvaloniaSample/Box/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Box/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Box.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Design/LinearGradients/View.axaml.cs b/samples/AvaloniaSample/Design/LinearGradients/View.axaml.cs index 170fa13d5..f123144dd 100644 --- a/samples/AvaloniaSample/Design/LinearGradients/View.axaml.cs +++ b/samples/AvaloniaSample/Design/LinearGradients/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Design.LinearGradients; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Design/RadialGradients/View.axaml.cs b/samples/AvaloniaSample/Design/RadialGradients/View.axaml.cs index 16abc7fa3..d34c76257 100644 --- a/samples/AvaloniaSample/Design/RadialGradients/View.axaml.cs +++ b/samples/AvaloniaSample/Design/RadialGradients/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Design.RadialGradients; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Design/StrokeDashArray/View.axaml.cs b/samples/AvaloniaSample/Design/StrokeDashArray/View.axaml.cs index 72ffba9ab..aa94d3169 100644 --- a/samples/AvaloniaSample/Design/StrokeDashArray/View.axaml.cs +++ b/samples/AvaloniaSample/Design/StrokeDashArray/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Design.StrokeDashArray; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Error/Basic/View.axaml.cs b/samples/AvaloniaSample/Error/Basic/View.axaml.cs index 352d1e853..d2fe621ce 100644 --- a/samples/AvaloniaSample/Error/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Error/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Error.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Events/AddPointOnClick/View.axaml.cs b/samples/AvaloniaSample/Events/AddPointOnClick/View.axaml.cs index fb341fe6e..714cbf3fd 100644 --- a/samples/AvaloniaSample/Events/AddPointOnClick/View.axaml.cs +++ b/samples/AvaloniaSample/Events/AddPointOnClick/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Events.AddPointOnClick; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Events/Cartesian/View.axaml.cs b/samples/AvaloniaSample/Events/Cartesian/View.axaml.cs index 7c853b865..6d32cf7a8 100644 --- a/samples/AvaloniaSample/Events/Cartesian/View.axaml.cs +++ b/samples/AvaloniaSample/Events/Cartesian/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Events.Cartesian; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Events/Pie/View.axaml.cs b/samples/AvaloniaSample/Events/Pie/View.axaml.cs index 0c59dab15..3b41d8aee 100644 --- a/samples/AvaloniaSample/Events/Pie/View.axaml.cs +++ b/samples/AvaloniaSample/Events/Pie/View.axaml.cs @@ -8,7 +8,7 @@ namespace AvaloniaSample.Events.Pie; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Events/Polar/View.axaml.cs b/samples/AvaloniaSample/Events/Polar/View.axaml.cs index 40d1ea1b9..5b0c9ba57 100644 --- a/samples/AvaloniaSample/Events/Polar/View.axaml.cs +++ b/samples/AvaloniaSample/Events/Polar/View.axaml.cs @@ -8,7 +8,7 @@ namespace AvaloniaSample.Events.Polar; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Financial/BasicCandlesticks/View.axaml.cs b/samples/AvaloniaSample/Financial/BasicCandlesticks/View.axaml.cs index cb2ca798c..8ce3bde66 100644 --- a/samples/AvaloniaSample/Financial/BasicCandlesticks/View.axaml.cs +++ b/samples/AvaloniaSample/Financial/BasicCandlesticks/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Financial.BasicCandlesticks; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Animations/View.axaml.cs b/samples/AvaloniaSample/General/Animations/View.axaml.cs index cb35737da..bdc84ed84 100644 --- a/samples/AvaloniaSample/General/Animations/View.axaml.cs +++ b/samples/AvaloniaSample/General/Animations/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Animations; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/ChartToImage/View.axaml.cs b/samples/AvaloniaSample/General/ChartToImage/View.axaml.cs index 3db6dbf0e..06b336bc1 100644 --- a/samples/AvaloniaSample/General/ChartToImage/View.axaml.cs +++ b/samples/AvaloniaSample/General/ChartToImage/View.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample.General.ChartToImage; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/ConditionalDraw/View.axaml.cs b/samples/AvaloniaSample/General/ConditionalDraw/View.axaml.cs index 2c6e9ce6a..0c370f7d7 100644 --- a/samples/AvaloniaSample/General/ConditionalDraw/View.axaml.cs +++ b/samples/AvaloniaSample/General/ConditionalDraw/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.ConditionalDraw; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Legends/View.axaml.cs b/samples/AvaloniaSample/General/Legends/View.axaml.cs index 39cce1ff9..ba64be8b0 100644 --- a/samples/AvaloniaSample/General/Legends/View.axaml.cs +++ b/samples/AvaloniaSample/General/Legends/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Legends; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/MapPoints/View.axaml.cs b/samples/AvaloniaSample/General/MapPoints/View.axaml.cs index abc881a61..b3e976f81 100644 --- a/samples/AvaloniaSample/General/MapPoints/View.axaml.cs +++ b/samples/AvaloniaSample/General/MapPoints/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.MapPoints; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/MultiThreading/View.axaml.cs b/samples/AvaloniaSample/General/MultiThreading/View.axaml.cs index 250cd5898..8a8769123 100644 --- a/samples/AvaloniaSample/General/MultiThreading/View.axaml.cs +++ b/samples/AvaloniaSample/General/MultiThreading/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.MultiThreading; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/MultiThreading2/View.axaml.cs b/samples/AvaloniaSample/General/MultiThreading2/View.axaml.cs index bdff012e1..d6c1afbfc 100644 --- a/samples/AvaloniaSample/General/MultiThreading2/View.axaml.cs +++ b/samples/AvaloniaSample/General/MultiThreading2/View.axaml.cs @@ -6,7 +6,7 @@ namespace AvaloniaSample.General.MultiThreading2; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/NullPoints/View.axaml.cs b/samples/AvaloniaSample/General/NullPoints/View.axaml.cs index 7b6b11665..40f28c8d6 100644 --- a/samples/AvaloniaSample/General/NullPoints/View.axaml.cs +++ b/samples/AvaloniaSample/General/NullPoints/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.NullPoints; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/RealTime/View.axaml.cs b/samples/AvaloniaSample/General/RealTime/View.axaml.cs index dd6bed55c..19da23b8b 100644 --- a/samples/AvaloniaSample/General/RealTime/View.axaml.cs +++ b/samples/AvaloniaSample/General/RealTime/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.RealTime; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Scrollable/View.axaml.cs b/samples/AvaloniaSample/General/Scrollable/View.axaml.cs index c8505f117..b03620e43 100644 --- a/samples/AvaloniaSample/General/Scrollable/View.axaml.cs +++ b/samples/AvaloniaSample/General/Scrollable/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Scrollable; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Sections/View.axaml.cs b/samples/AvaloniaSample/General/Sections/View.axaml.cs index 06564d739..642123bde 100644 --- a/samples/AvaloniaSample/General/Sections/View.axaml.cs +++ b/samples/AvaloniaSample/General/Sections/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Sections; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Sections2/View.axaml.cs b/samples/AvaloniaSample/General/Sections2/View.axaml.cs index 0e9f6c34e..7a067d1f1 100644 --- a/samples/AvaloniaSample/General/Sections2/View.axaml.cs +++ b/samples/AvaloniaSample/General/Sections2/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Sections2; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/TemplatedLegends/View.axaml.cs b/samples/AvaloniaSample/General/TemplatedLegends/View.axaml.cs index fe124409d..5c54e1bed 100644 --- a/samples/AvaloniaSample/General/TemplatedLegends/View.axaml.cs +++ b/samples/AvaloniaSample/General/TemplatedLegends/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.TemplatedLegends; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/TemplatedTooltips/View.axaml.cs b/samples/AvaloniaSample/General/TemplatedTooltips/View.axaml.cs index 95894c9a5..ac744395b 100644 --- a/samples/AvaloniaSample/General/TemplatedTooltips/View.axaml.cs +++ b/samples/AvaloniaSample/General/TemplatedTooltips/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.TemplatedTooltips; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Tooltips/View.axaml.cs b/samples/AvaloniaSample/General/Tooltips/View.axaml.cs index a09682581..6654e3bc7 100644 --- a/samples/AvaloniaSample/General/Tooltips/View.axaml.cs +++ b/samples/AvaloniaSample/General/Tooltips/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Tooltips; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/UserDefinedTypes/View.axaml.cs b/samples/AvaloniaSample/General/UserDefinedTypes/View.axaml.cs index e80430e6a..3c71d61e2 100644 --- a/samples/AvaloniaSample/General/UserDefinedTypes/View.axaml.cs +++ b/samples/AvaloniaSample/General/UserDefinedTypes/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.UserDefinedTypes; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/Visibility/View.axaml.cs b/samples/AvaloniaSample/General/Visibility/View.axaml.cs index 77e6c086f..737b37446 100644 --- a/samples/AvaloniaSample/General/Visibility/View.axaml.cs +++ b/samples/AvaloniaSample/General/Visibility/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.Visibility; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/General/VisualElements/View.axaml.cs b/samples/AvaloniaSample/General/VisualElements/View.axaml.cs index 6d3b64875..8f9141412 100644 --- a/samples/AvaloniaSample/General/VisualElements/View.axaml.cs +++ b/samples/AvaloniaSample/General/VisualElements/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.General.VisualElements; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/GlobalSuppressions.cs b/samples/AvaloniaSample/GlobalSuppressions.cs deleted file mode 100644 index 4fc270371..000000000 --- a/samples/AvaloniaSample/GlobalSuppressions.cs +++ /dev/null @@ -1,10 +0,0 @@ -// This file is used by Code Analysis to maintain SuppressMessage -// attributes that are applied to this project. -// Project-level suppressions either have no target or are given -// a specific target and scoped to a namespace, type, member, etc. - -using System.Diagnostics.CodeAnalysis; - -[assembly: SuppressMessage("Style", "IDE0058:Expression value is never used", Justification = "", Scope = "member", Target = "~M:AvaloniaSample.MainWindowViewModel.SetDark")] -[assembly: SuppressMessage("Style", "IDE0073:The file header is missing or not located at the top of the file", Justification = "")] -[assembly: SuppressMessage("Style", "IDE0005:Using directive is unnecessary.", Justification = "")] diff --git a/samples/AvaloniaSample/Heat/Basic/View.axaml.cs b/samples/AvaloniaSample/Heat/Basic/View.axaml.cs index 5b57e8b0b..7d0456677 100644 --- a/samples/AvaloniaSample/Heat/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Heat/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Heat.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/Area/View.axaml.cs b/samples/AvaloniaSample/Lines/Area/View.axaml.cs index b6b9dd448..5241da264 100644 --- a/samples/AvaloniaSample/Lines/Area/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Area/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Area; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/AutoUpdate/View.axaml.cs b/samples/AvaloniaSample/Lines/AutoUpdate/View.axaml.cs index d27aa5203..91cab8340 100644 --- a/samples/AvaloniaSample/Lines/AutoUpdate/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/AutoUpdate/View.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample.Lines.AutoUpdate; -public class View : UserControl +public partial class View : UserControl { private bool? isStreaming = false; diff --git a/samples/AvaloniaSample/Lines/Basic/View.axaml.cs b/samples/AvaloniaSample/Lines/Basic/View.axaml.cs index 0132d85ae..b260a5339 100644 --- a/samples/AvaloniaSample/Lines/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/Custom/View.axaml.cs b/samples/AvaloniaSample/Lines/Custom/View.axaml.cs index af770d5e9..a862b91f5 100644 --- a/samples/AvaloniaSample/Lines/Custom/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Custom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Custom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/Padding/View.axaml.cs b/samples/AvaloniaSample/Lines/Padding/View.axaml.cs index ff2ddfb88..b55802992 100644 --- a/samples/AvaloniaSample/Lines/Padding/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Padding/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Padding; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/Properties/View.axaml.cs b/samples/AvaloniaSample/Lines/Properties/View.axaml.cs index e5721ba6c..d6a93f523 100644 --- a/samples/AvaloniaSample/Lines/Properties/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Properties/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Properties; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/Straight/View.axaml.cs b/samples/AvaloniaSample/Lines/Straight/View.axaml.cs index e47afeebf..66cf79618 100644 --- a/samples/AvaloniaSample/Lines/Straight/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Straight/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Straight; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/XY/View.axaml.cs b/samples/AvaloniaSample/Lines/XY/View.axaml.cs index 1fd49c54e..ada1dc5e9 100644 --- a/samples/AvaloniaSample/Lines/XY/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/XY/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.XY; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Lines/Zoom/View.axaml.cs b/samples/AvaloniaSample/Lines/Zoom/View.axaml.cs index 3d50b401f..6b3d23486 100644 --- a/samples/AvaloniaSample/Lines/Zoom/View.axaml.cs +++ b/samples/AvaloniaSample/Lines/Zoom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Lines.Zoom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/MainView.axaml b/samples/AvaloniaSample/MainView.axaml new file mode 100644 index 000000000..61f4bcd98 --- /dev/null +++ b/samples/AvaloniaSample/MainView.axaml @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/AvaloniaSample/MainView.axaml.cs b/samples/AvaloniaSample/MainView.axaml.cs new file mode 100644 index 000000000..c63e589f2 --- /dev/null +++ b/samples/AvaloniaSample/MainView.axaml.cs @@ -0,0 +1,49 @@ +// The MIT License(MIT) +// +// Copyright(c) 2021 Alberto Rodriguez Orozco & LiveCharts Contributors +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +using System; +using Avalonia.Controls; + +namespace AvaloniaSample; +public partial class MainView : UserControl +{ + public MainView() + { + InitializeComponent(); + + DataContext = new MainWindowViewModel(); + LoadContent("Design.LinearGradients"); + } + + private void OnPointerPressed(object? sender, Avalonia.Input.PointerPressedEventArgs e) + { + if ((sender as Border)?.DataContext is not string ctx) throw new Exception("Sample not found"); + LoadContent(ctx.Replace('/', '.')); + } + + private void LoadContent(string view) + { + var content = this.FindControl("content")!; + content.Content = Activator.CreateInstance(null!, $"AvaloniaSample.{view}.View")?.Unwrap(); + if (DataContext is not MainWindowViewModel dc) throw new Exception(); + } +} diff --git a/samples/AvaloniaSample/MainWindow.axaml b/samples/AvaloniaSample/MainWindow.axaml index fa76454b7..13c8b2c75 100644 --- a/samples/AvaloniaSample/MainWindow.axaml +++ b/samples/AvaloniaSample/MainWindow.axaml @@ -12,59 +12,6 @@ x:Class="AvaloniaSample.MainWindow" WindowStartupLocation="CenterScreen"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/samples/AvaloniaSample/MainWindow.axaml.cs b/samples/AvaloniaSample/MainWindow.axaml.cs index f8935dfd5..a62681a55 100644 --- a/samples/AvaloniaSample/MainWindow.axaml.cs +++ b/samples/AvaloniaSample/MainWindow.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample; -public class MainWindow : Window +public partial class MainWindow : Window { public MainWindow() { @@ -13,22 +13,6 @@ public MainWindow() #if DEBUG this.AttachDevTools(); #endif - - DataContext = new MainWindowViewModel(); - LoadContent("Design.LinearGradients"); - } - - private void OnPointerPressed(object? sender, Avalonia.Input.PointerPressedEventArgs e) - { - if ((sender as Border)?.DataContext is not string ctx) throw new Exception("Sample not found"); - LoadContent(ctx.Replace('/', '.')); - } - - private void LoadContent(string view) - { - var content = this.FindControl("content")!; - content.Content = Activator.CreateInstance(null!, $"AvaloniaSample.{view}.View")?.Unwrap(); - if (DataContext is not MainWindowViewModel dc) throw new Exception(); } private void InitializeComponent() diff --git a/samples/AvaloniaSample/Pies/AngularGauge/View.axaml.cs b/samples/AvaloniaSample/Pies/AngularGauge/View.axaml.cs index 36033c80f..34617a9ff 100644 --- a/samples/AvaloniaSample/Pies/AngularGauge/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/AngularGauge/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.AngularGauge; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/AutoUpdate/View.axaml.cs b/samples/AvaloniaSample/Pies/AutoUpdate/View.axaml.cs index cfc3df022..edf70680d 100644 --- a/samples/AvaloniaSample/Pies/AutoUpdate/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/AutoUpdate/View.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample.Pies.AutoUpdate; -public class View : UserControl +public partial class View : UserControl { private bool? isStreaming = false; diff --git a/samples/AvaloniaSample/Pies/Basic/View.axaml.cs b/samples/AvaloniaSample/Pies/Basic/View.axaml.cs index ec9e9035f..6ee809c65 100644 --- a/samples/AvaloniaSample/Pies/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Custom/View.axaml.cs b/samples/AvaloniaSample/Pies/Custom/View.axaml.cs index 67445be6b..6854539ca 100644 --- a/samples/AvaloniaSample/Pies/Custom/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Custom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Custom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Doughnut/View.axaml.cs b/samples/AvaloniaSample/Pies/Doughnut/View.axaml.cs index 5c9059e74..486366e0d 100644 --- a/samples/AvaloniaSample/Pies/Doughnut/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Doughnut/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Doughnut; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauge/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauge/View.axaml.cs index 8028724be..e8f1d0ade 100644 --- a/samples/AvaloniaSample/Pies/Gauge/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauge/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauge; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauge1/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauge1/View.axaml.cs index 8cdddd52d..c90db7581 100644 --- a/samples/AvaloniaSample/Pies/Gauge1/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauge1/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauge1; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauge2/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauge2/View.axaml.cs index d3c5631bd..fab027f17 100644 --- a/samples/AvaloniaSample/Pies/Gauge2/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauge2/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauge2; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauge3/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauge3/View.axaml.cs index 0f49649c6..d77288364 100644 --- a/samples/AvaloniaSample/Pies/Gauge3/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauge3/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauge3; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauge4/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauge4/View.axaml.cs index e45947bf6..21ce91b3f 100644 --- a/samples/AvaloniaSample/Pies/Gauge4/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauge4/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauge4; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauge5/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauge5/View.axaml.cs index 786d3d712..5e3b9d152 100644 --- a/samples/AvaloniaSample/Pies/Gauge5/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauge5/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauge5; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Gauges/View.axaml.cs b/samples/AvaloniaSample/Pies/Gauges/View.axaml.cs index 65c17f5d7..4d1f1148c 100644 --- a/samples/AvaloniaSample/Pies/Gauges/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Gauges/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Gauges; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/NightingaleRose/View.axaml.cs b/samples/AvaloniaSample/Pies/NightingaleRose/View.axaml.cs index ce2f893c2..b8b23c9dc 100644 --- a/samples/AvaloniaSample/Pies/NightingaleRose/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/NightingaleRose/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.NightingaleRose; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/OutLabels/View.axaml b/samples/AvaloniaSample/Pies/OutLabels/View.axaml new file mode 100644 index 000000000..ebdad9302 --- /dev/null +++ b/samples/AvaloniaSample/Pies/OutLabels/View.axaml @@ -0,0 +1,16 @@ + + + + + + + + + diff --git a/samples/AvaloniaSample/Pies/OutLabels/View.axaml.cs b/samples/AvaloniaSample/Pies/OutLabels/View.axaml.cs new file mode 100644 index 000000000..dd264229d --- /dev/null +++ b/samples/AvaloniaSample/Pies/OutLabels/View.axaml.cs @@ -0,0 +1,17 @@ +using Avalonia.Controls; +using Avalonia.Markup.Xaml; + +namespace AvaloniaSample.Pies.OutLabels; + +public partial class View : UserControl +{ + public View() + { + InitializeComponent(); + } + + private void InitializeComponent() + { + AvaloniaXamlLoader.Load(this); + } +} diff --git a/samples/AvaloniaSample/Pies/Processing/View.axaml.cs b/samples/AvaloniaSample/Pies/Processing/View.axaml.cs index bde80fd09..1249653c8 100644 --- a/samples/AvaloniaSample/Pies/Processing/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Processing/View.axaml.cs @@ -8,7 +8,7 @@ namespace AvaloniaSample.Pies.Processing; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Pies/Pushout/View.axaml.cs b/samples/AvaloniaSample/Pies/Pushout/View.axaml.cs index 1834f7b98..4e2aafd3c 100644 --- a/samples/AvaloniaSample/Pies/Pushout/View.axaml.cs +++ b/samples/AvaloniaSample/Pies/Pushout/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Pies.Pushout; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/AvaloniaSample.Android.csproj b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/AvaloniaSample.Android.csproj new file mode 100644 index 000000000..bf1270ab2 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/AvaloniaSample.Android.csproj @@ -0,0 +1,36 @@ + + + + Exe + net7.0-android + 21 + enable + com.CompanyName.AvaloniaSample + 1 + 1.0 + apk + False + + + + + + + + + + + Resources\drawable\Icon.png + + + + + + + + + + + + + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Icon.png b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Icon.png new file mode 100644 index 000000000..41a2a618f Binary files /dev/null and b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Icon.png differ diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/MainActivity.cs b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/MainActivity.cs new file mode 100644 index 000000000..69c074889 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/MainActivity.cs @@ -0,0 +1,24 @@ +using Android.App; +using Android.Content.PM; + +using Avalonia; +using Avalonia.Android; +using Avalonia.ReactiveUI; + +namespace AvaloniaSample.Android; + +[Activity( + Label = "AvaloniaApplication1.Android", + Theme = "@style/MyTheme.NoActionBar", + Icon = "@drawable/icon", + MainLauncher = true, + ConfigurationChanges = ConfigChanges.Orientation | ConfigChanges.ScreenSize | ConfigChanges.UiMode)] +public class MainActivity : AvaloniaMainActivity +{ + protected override AppBuilder CustomizeAppBuilder(AppBuilder builder) + { + return base.CustomizeAppBuilder(builder) + .WithInterFont() + .UseReactiveUI(); + } +} diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Properties/AndroidManifest.xml b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Properties/AndroidManifest.xml new file mode 100644 index 000000000..d5a465ef9 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Properties/AndroidManifest.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/drawable/splash_screen.xml b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/drawable/splash_screen.xml new file mode 100644 index 000000000..2e920b4b3 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/drawable/splash_screen.xml @@ -0,0 +1,13 @@ + + + + + + + + + + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values-night/colors.xml b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values-night/colors.xml new file mode 100644 index 000000000..3d47b6fc5 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values-night/colors.xml @@ -0,0 +1,4 @@ + + + #212121 + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values/colors.xml b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values/colors.xml new file mode 100644 index 000000000..59279d5d3 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values/colors.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values/styles.xml b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values/styles.xml new file mode 100644 index 000000000..6e534de2f --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Android/Resources/values/styles.xml @@ -0,0 +1,12 @@ + + + + + + + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/AvaloniaSample.Desktop.csproj b/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/AvaloniaSample.Desktop.csproj new file mode 100644 index 000000000..1f953cba5 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/AvaloniaSample.Desktop.csproj @@ -0,0 +1,20 @@ + + + + WinExe + + net7.0 + enable + true + app.manifest + + + + + + + + + + diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/Program.cs b/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/Program.cs new file mode 100644 index 000000000..19b14cd7a --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/Program.cs @@ -0,0 +1,24 @@ +using System; + +using Avalonia; +using Avalonia.ReactiveUI; + +namespace AvaloniaApplication1.Desktop; + +class Program +{ + // Initialization code. Don't use any Avalonia, third-party APIs or any + // SynchronizationContext-reliant code before AppMain is called: things aren't initialized + // yet and stuff might break. + [STAThread] + public static void Main(string[] args) => BuildAvaloniaApp() + .StartWithClassicDesktopLifetime(args); + + // Avalonia configuration, don't remove; also used by visual designer. + public static AppBuilder BuildAvaloniaApp() + => AppBuilder.Configure() + .UsePlatformDetect() + .WithInterFont() + .LogToTrace() + .UseReactiveUI(); +} diff --git a/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/app.manifest b/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/app.manifest new file mode 100644 index 000000000..67ca5f9b1 --- /dev/null +++ b/samples/AvaloniaSample/Platforms/AvaloniaSample.Desktop/app.manifest @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + diff --git a/samples/AvaloniaSample/Polar/Basic/View.axaml.cs b/samples/AvaloniaSample/Polar/Basic/View.axaml.cs index c7ee3a48c..3385bc8ad 100644 --- a/samples/AvaloniaSample/Polar/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Polar/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Polar.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Polar/Coordinates/View.axaml.cs b/samples/AvaloniaSample/Polar/Coordinates/View.axaml.cs index 298e7ff34..670e74057 100644 --- a/samples/AvaloniaSample/Polar/Coordinates/View.axaml.cs +++ b/samples/AvaloniaSample/Polar/Coordinates/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Polar.Coordinates; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Polar/RadialArea/View.axaml.cs b/samples/AvaloniaSample/Polar/RadialArea/View.axaml.cs index c7170a496..ec0322da8 100644 --- a/samples/AvaloniaSample/Polar/RadialArea/View.axaml.cs +++ b/samples/AvaloniaSample/Polar/RadialArea/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Polar.RadialArea; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Program.cs b/samples/AvaloniaSample/Program.cs deleted file mode 100644 index ccefa264b..000000000 --- a/samples/AvaloniaSample/Program.cs +++ /dev/null @@ -1,23 +0,0 @@ -using Avalonia; - -namespace AvaloniaSample; - -class Program -{ - // Initialization code. Don't use any Avalonia, third-party APIs or any - // SynchronizationContext-reliant code before AppMain is called: things aren't initialized - // yet and stuff might break. - public static void Main(string[] args) - { - BuildAvaloniaApp() - .StartWithClassicDesktopLifetime(args); - } - - // Avalonia configuration, don't remove; also used by visual designer. - public static AppBuilder BuildAvaloniaApp() - { - return AppBuilder.Configure() - .UsePlatformDetect() - .LogToTrace(); - } -} diff --git a/samples/AvaloniaSample/Scatter/AutoUpdate/View.axaml.cs b/samples/AvaloniaSample/Scatter/AutoUpdate/View.axaml.cs index 0d3db4f7d..5d855cacb 100644 --- a/samples/AvaloniaSample/Scatter/AutoUpdate/View.axaml.cs +++ b/samples/AvaloniaSample/Scatter/AutoUpdate/View.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample.Scatter.AutoUpdate; -public class View : UserControl +public partial class View : UserControl { private bool? isStreaming = false; diff --git a/samples/AvaloniaSample/Scatter/Basic/View.axaml.cs b/samples/AvaloniaSample/Scatter/Basic/View.axaml.cs index e98a50e4b..451d44c11 100644 --- a/samples/AvaloniaSample/Scatter/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/Scatter/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Scatter.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Scatter/Bubbles/View.axaml.cs b/samples/AvaloniaSample/Scatter/Bubbles/View.axaml.cs index 4490dfc93..9edcecb62 100644 --- a/samples/AvaloniaSample/Scatter/Bubbles/View.axaml.cs +++ b/samples/AvaloniaSample/Scatter/Bubbles/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Scatter.Bubbles; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Scatter/Custom/View.axaml.cs b/samples/AvaloniaSample/Scatter/Custom/View.axaml.cs index 4dcb84790..2b6b308a8 100644 --- a/samples/AvaloniaSample/Scatter/Custom/View.axaml.cs +++ b/samples/AvaloniaSample/Scatter/Custom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Scatter.Custom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StackedArea/Basic/View.axaml.cs b/samples/AvaloniaSample/StackedArea/Basic/View.axaml.cs index fe59d6233..b534ed344 100644 --- a/samples/AvaloniaSample/StackedArea/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/StackedArea/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StackedArea.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StackedArea/StepArea/View.axaml.cs b/samples/AvaloniaSample/StackedArea/StepArea/View.axaml.cs index 6882d8530..4765e60f5 100644 --- a/samples/AvaloniaSample/StackedArea/StepArea/View.axaml.cs +++ b/samples/AvaloniaSample/StackedArea/StepArea/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StackedArea.StepArea; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StackedBars/Basic/View.axaml.cs b/samples/AvaloniaSample/StackedBars/Basic/View.axaml.cs index 67c411029..2e47a75ab 100644 --- a/samples/AvaloniaSample/StackedBars/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/StackedBars/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StackedBars.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StackedBars/Groups/View.axaml.cs b/samples/AvaloniaSample/StackedBars/Groups/View.axaml.cs index 0bf4749e0..a1136e330 100644 --- a/samples/AvaloniaSample/StackedBars/Groups/View.axaml.cs +++ b/samples/AvaloniaSample/StackedBars/Groups/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StackedBars.Groups; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StepLines/Area/View.axaml.cs b/samples/AvaloniaSample/StepLines/Area/View.axaml.cs index 71284d47f..0d9d2ef92 100644 --- a/samples/AvaloniaSample/StepLines/Area/View.axaml.cs +++ b/samples/AvaloniaSample/StepLines/Area/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StepLines.Area; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StepLines/AutoUpdate/View.axaml.cs b/samples/AvaloniaSample/StepLines/AutoUpdate/View.axaml.cs index 5f9a486f3..08227576a 100644 --- a/samples/AvaloniaSample/StepLines/AutoUpdate/View.axaml.cs +++ b/samples/AvaloniaSample/StepLines/AutoUpdate/View.axaml.cs @@ -5,7 +5,7 @@ namespace AvaloniaSample.StepLines.AutoUpdate; -public class View : UserControl +public partial class View : UserControl { private bool? isStreaming = false; diff --git a/samples/AvaloniaSample/StepLines/Basic/View.axaml.cs b/samples/AvaloniaSample/StepLines/Basic/View.axaml.cs index da8e1bfe1..6b0051434 100644 --- a/samples/AvaloniaSample/StepLines/Basic/View.axaml.cs +++ b/samples/AvaloniaSample/StepLines/Basic/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StepLines.Basic; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StepLines/Custom/View.axaml.cs b/samples/AvaloniaSample/StepLines/Custom/View.axaml.cs index 688270070..c07250352 100644 --- a/samples/AvaloniaSample/StepLines/Custom/View.axaml.cs +++ b/samples/AvaloniaSample/StepLines/Custom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StepLines.Custom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StepLines/Properties/View.axaml.cs b/samples/AvaloniaSample/StepLines/Properties/View.axaml.cs index 2e6a2703b..04cd29883 100644 --- a/samples/AvaloniaSample/StepLines/Properties/View.axaml.cs +++ b/samples/AvaloniaSample/StepLines/Properties/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StepLines.Properties; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/StepLines/Zoom/View.axaml.cs b/samples/AvaloniaSample/StepLines/Zoom/View.axaml.cs index 18572178f..37b4aa21c 100644 --- a/samples/AvaloniaSample/StepLines/Zoom/View.axaml.cs +++ b/samples/AvaloniaSample/StepLines/Zoom/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.StepLines.Zoom; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Test/ChangeSeriesInstance/View.axaml.cs b/samples/AvaloniaSample/Test/ChangeSeriesInstance/View.axaml.cs index e234aaa21..a39ec5836 100644 --- a/samples/AvaloniaSample/Test/ChangeSeriesInstance/View.axaml.cs +++ b/samples/AvaloniaSample/Test/ChangeSeriesInstance/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Test.ChangeSeriesInstance; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Test/Dispose/UserControl1.axaml.cs b/samples/AvaloniaSample/Test/Dispose/UserControl1.axaml.cs index 28f1a0329..1f08a1b27 100644 --- a/samples/AvaloniaSample/Test/Dispose/UserControl1.axaml.cs +++ b/samples/AvaloniaSample/Test/Dispose/UserControl1.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Test.Dispose; -public class UserControl1 : UserControl +public partial class UserControl1 : UserControl { public UserControl1() { diff --git a/samples/AvaloniaSample/Test/Dispose/View.axaml.cs b/samples/AvaloniaSample/Test/Dispose/View.axaml.cs index 846e4d556..7c2f72667 100644 --- a/samples/AvaloniaSample/Test/Dispose/View.axaml.cs +++ b/samples/AvaloniaSample/Test/Dispose/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Test.Dispose; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/Test/MotionCanvasDispose/UserControl1.axaml.cs b/samples/AvaloniaSample/Test/MotionCanvasDispose/UserControl1.axaml.cs index d8bfc5f86..c176ede9f 100644 --- a/samples/AvaloniaSample/Test/MotionCanvasDispose/UserControl1.axaml.cs +++ b/samples/AvaloniaSample/Test/MotionCanvasDispose/UserControl1.axaml.cs @@ -6,7 +6,7 @@ namespace AvaloniaSample.Test.MotionCanvasDispose; -public class UserControl1 : UserControl +public partial class UserControl1 : UserControl { public UserControl1() { diff --git a/samples/AvaloniaSample/Test/MotionCanvasDispose/View.axaml.cs b/samples/AvaloniaSample/Test/MotionCanvasDispose/View.axaml.cs index 4e95b4cb8..e1f9f6498 100644 --- a/samples/AvaloniaSample/Test/MotionCanvasDispose/View.axaml.cs +++ b/samples/AvaloniaSample/Test/MotionCanvasDispose/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.Test.MotionCanvasDispose; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/VisualTest/DataTemplate/View.axaml.cs b/samples/AvaloniaSample/VisualTest/DataTemplate/View.axaml.cs index 28803d5b4..6588f3fc4 100644 --- a/samples/AvaloniaSample/VisualTest/DataTemplate/View.axaml.cs +++ b/samples/AvaloniaSample/VisualTest/DataTemplate/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.VisualTest.DataTemplate; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/VisualTest/ReattachVisual/View.axaml.cs b/samples/AvaloniaSample/VisualTest/ReattachVisual/View.axaml.cs index 016160a02..ff9ff1ed6 100644 --- a/samples/AvaloniaSample/VisualTest/ReattachVisual/View.axaml.cs +++ b/samples/AvaloniaSample/VisualTest/ReattachVisual/View.axaml.cs @@ -4,7 +4,7 @@ namespace AvaloniaSample.VisualTest.ReattachVisual; -public class View : UserControl +public partial class View : UserControl { private bool _isInVisualTree = true; diff --git a/samples/AvaloniaSample/VisualTest/Tabs/View.axaml.cs b/samples/AvaloniaSample/VisualTest/Tabs/View.axaml.cs index 58f2574bf..cfa9d520a 100644 --- a/samples/AvaloniaSample/VisualTest/Tabs/View.axaml.cs +++ b/samples/AvaloniaSample/VisualTest/Tabs/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.VisualTest.Tabs; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/VisualTest/TwoChartsOneSeries/View.axaml.cs b/samples/AvaloniaSample/VisualTest/TwoChartsOneSeries/View.axaml.cs index 7701a7c21..e0aac604b 100644 --- a/samples/AvaloniaSample/VisualTest/TwoChartsOneSeries/View.axaml.cs +++ b/samples/AvaloniaSample/VisualTest/TwoChartsOneSeries/View.axaml.cs @@ -3,7 +3,7 @@ namespace AvaloniaSample.VisualTest.TwoChartsOneSeries; -public class View : UserControl +public partial class View : UserControl { public View() { diff --git a/samples/AvaloniaSample/nuget.config b/samples/AvaloniaSample/nuget.config deleted file mode 100644 index 6c273ab3d..000000000 --- a/samples/AvaloniaSample/nuget.config +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/samples/BlazorSample/Pages/Pies/OutLabels.razor b/samples/BlazorSample/Pages/Pies/OutLabels.razor new file mode 100644 index 000000000..7052ae4a1 --- /dev/null +++ b/samples/BlazorSample/Pages/Pies/OutLabels.razor @@ -0,0 +1,13 @@ +@page "/Pies/OutLabels" +@using LiveChartsCore.SkiaSharpView.Blazor +@using ViewModelsSamples.Pies.OutLabels + + + + +@code { + public ViewModel ViewModel { get; set; } = new(); +} diff --git a/samples/EtoFormsSample/Pies/OutLabels/View.cs b/samples/EtoFormsSample/Pies/OutLabels/View.cs new file mode 100644 index 000000000..67e77bc4d --- /dev/null +++ b/samples/EtoFormsSample/Pies/OutLabels/View.cs @@ -0,0 +1,24 @@ +using Eto.Forms; +using LiveChartsCore.SkiaSharpView.Eto; +using ViewModelsSamples.Pies.OutLabels; + +namespace EtoFormsSample.Pies.OutLabels; + +public class View : Panel +{ + private readonly PieChart pieChart; + + public View() + { + var viewModel = new ViewModel(); + + pieChart = new PieChart + { + Series = viewModel.Series, + IsClockwise = false, + InitialRotation = -90 + }; + + Content = pieChart; + } +} diff --git a/samples/MauiSample/Events/AddPointOnClick/View.xaml b/samples/MauiSample/Events/AddPointOnClick/View.xaml index 0ae8b05ea..20b82463b 100644 --- a/samples/MauiSample/Events/AddPointOnClick/View.xaml +++ b/samples/MauiSample/Events/AddPointOnClick/View.xaml @@ -11,7 +11,7 @@ diff --git a/samples/MauiSample/General/Scrollable/View.xaml b/samples/MauiSample/General/Scrollable/View.xaml index a9c0ce426..96644a7e4 100644 --- a/samples/MauiSample/General/Scrollable/View.xaml +++ b/samples/MauiSample/General/Scrollable/View.xaml @@ -27,7 +27,7 @@ XAxes="{Binding ScrollableAxes}" ZoomMode="X" DrawMargin="{Binding Margin}" - UpdateStarted="OnChart_Updated"> + UpdateStartedCommand="{Binding ChartUpdatedCommand}"> - - - - + PressedCommand="{Binding PointerDownCommand}" + MovedCommand="{Binding PointerMoveCommand}" + ReleasedCommand="{Binding PointerUpCommand}" + TooltipPosition="Hidden"> diff --git a/samples/MauiSample/General/Scrollable/View.xaml.cs b/samples/MauiSample/General/Scrollable/View.xaml.cs index 97f695540..ee321910b 100644 --- a/samples/MauiSample/General/Scrollable/View.xaml.cs +++ b/samples/MauiSample/General/Scrollable/View.xaml.cs @@ -8,57 +8,8 @@ namespace MauiSample.General.Scrollable; [XamlCompilation(XamlCompilationOptions.Compile)] public partial class View : ContentPage { - private bool _isDown = false; - public View() { InitializeComponent(); } - - private void OnChart_Updated(IChartView chart) - { - var vm = (ViewModel)BindingContext; - var cartesianChart = (CartesianChart)chart; - - var x = cartesianChart.XAxes.First(); - - // update the scroll bar thumb when the chart is updated (zoom/pan) - // this will let the user know the current visible range - var thumb = vm.Thumbs[0]; - - thumb.Xi = x.MinLimit; - thumb.Xj = x.MaxLimit; - } - - private void OnPointerEntered(object sender, PointerEventArgs e) - { - _isDown = true; - } - - private void OnPointerMoved(object sender, PointerEventArgs e) - { - if (!_isDown) return; - - var vm = (ViewModel)BindingContext; - var scrollBarChart = ScrollBarChart; - - var pointerPosition = e.GetPosition(scrollBarChart); - var positionInData = scrollBarChart.ScalePixelsToData(new(pointerPosition.Value.X, pointerPosition.Value.Y)); - - var thumb = vm.Thumbs[0]; - var currentRange = thumb.Xj - thumb.Xi; - - // update the scroll bar thumb when the user is dragging the chart - thumb.Xi = positionInData.X - currentRange / 2; - thumb.Xj = positionInData.X + currentRange / 2; - - // update the chart visible range - vm.ScrollableAxes[0].MinLimit = thumb.Xi; - vm.ScrollableAxes[0].MaxLimit = thumb.Xj; - } - - private void OnPointerExited(object sender, PointerEventArgs e) - { - _isDown = false; - } } diff --git a/samples/MauiSample/Pies/OutLabels/View.xaml b/samples/MauiSample/Pies/OutLabels/View.xaml new file mode 100644 index 000000000..7405de3fa --- /dev/null +++ b/samples/MauiSample/Pies/OutLabels/View.xaml @@ -0,0 +1,16 @@ + + + + + + + + diff --git a/samples/MauiSample/Pies/OutLabels/View.xaml.cs b/samples/MauiSample/Pies/OutLabels/View.xaml.cs new file mode 100644 index 000000000..2c47872a3 --- /dev/null +++ b/samples/MauiSample/Pies/OutLabels/View.xaml.cs @@ -0,0 +1,10 @@ +namespace MauiSample.Pies.OutLabels; + +[XamlCompilation(XamlCompilationOptions.Compile)] +public partial class View : ContentPage +{ + public View() + { + InitializeComponent(); + } +} diff --git a/samples/UWPSample/Pies/OutLabels/View.xaml b/samples/UWPSample/Pies/OutLabels/View.xaml new file mode 100644 index 000000000..de71ca8f8 --- /dev/null +++ b/samples/UWPSample/Pies/OutLabels/View.xaml @@ -0,0 +1,17 @@ + + + + + + + diff --git a/samples/UWPSample/Pies/OutLabels/View.xaml.cs b/samples/UWPSample/Pies/OutLabels/View.xaml.cs new file mode 100644 index 000000000..d2e45f45d --- /dev/null +++ b/samples/UWPSample/Pies/OutLabels/View.xaml.cs @@ -0,0 +1,12 @@ +using Windows.UI.Xaml.Controls; + +namespace UWPSample.Pies.OutLabels +{ + public sealed partial class View : UserControl + { + public View() + { + InitializeComponent(); + } + } +} diff --git a/samples/UWPSample/UWPSample.csproj b/samples/UWPSample/UWPSample.csproj index 89b42906a..69a922a11 100644 --- a/samples/UWPSample/UWPSample.csproj +++ b/samples/UWPSample/UWPSample.csproj @@ -310,6 +310,9 @@ View.xaml + + View.xaml + View.xaml @@ -686,6 +689,10 @@ MSBuild:Compile Designer + + MSBuild:Compile + Designer + MSBuild:Compile Designer diff --git a/samples/UnoPlatformSample/.vscode/launch.json b/samples/UnoPlatformSample/.vscode/launch.json index e0ef2aa8b..d6af66c57 100644 --- a/samples/UnoPlatformSample/.vscode/launch.json +++ b/samples/UnoPlatformSample/.vscode/launch.json @@ -41,6 +41,13 @@ // For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console "console": "internalConsole", "stopAtEntry": false - } + }, + { + "name": "Uno Platform Mobile", + "type": "Uno", + "request": "launch", + // any Uno* task will do, this is simply to satisfy vscode requirement when a launch.json is present + "preLaunchTask": "Uno: android | Debug | android-x64" + }, ] } diff --git a/samples/UnoPlatformSample/Directory.Build.props b/samples/UnoPlatformSample/Directory.Build.props index 76f7aa4b4..8c8dc7544 100644 --- a/samples/UnoPlatformSample/Directory.Build.props +++ b/samples/UnoPlatformSample/Directory.Build.props @@ -1,15 +1,14 @@ - + - 11 enable enable portable True - true - True - $(NoWarn);Uno0001;CS1998;CA1416;NU1507 + true + + $(NoWarn);CA1416;NU1507 en @@ -31,21 +30,18 @@ true 14.2 - iossimulator-x64 true 10.14 - osx-x64 true 14.0 - maccatalyst-x64 diff --git a/samples/UnoPlatformSample/Directory.Build.targets b/samples/UnoPlatformSample/Directory.Build.targets index 0d24ec238..30332cf7d 100644 --- a/samples/UnoPlatformSample/Directory.Build.targets +++ b/samples/UnoPlatformSample/Directory.Build.targets @@ -1,2 +1,6 @@ - - \ No newline at end of file + + + + + + diff --git a/samples/UnoPlatformSample/Directory.Packages.props b/samples/UnoPlatformSample/Directory.Packages.props new file mode 100644 index 000000000..b3b9a4186 --- /dev/null +++ b/samples/UnoPlatformSample/Directory.Packages.props @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/samples/UnoPlatformSample/UnoPlatformSample.Base/AppHead.xaml.cs b/samples/UnoPlatformSample/UnoPlatformSample.Base/AppHead.xaml.cs index 1a0a15ab1..9a97712e4 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.Base/AppHead.xaml.cs +++ b/samples/UnoPlatformSample/UnoPlatformSample.Base/AppHead.xaml.cs @@ -20,8 +20,10 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -namespace UnoPlatformSample; +using Microsoft.UI.Xaml; +using Uno.Resizetizer; +namespace UnoPlatformSample; public sealed partial class AppHead : App { /// @@ -32,4 +34,16 @@ public AppHead() { this.InitializeComponent(); } + + /// + /// Invoked when the application is launched normally by the end user. Other entry points + /// will be used such as when the application is launched to open a specific file. + /// + /// Details about the launch request and process. + protected override void OnLaunched(LaunchActivatedEventArgs args) + { + base.OnLaunched(args); + + MainWindow.SetWindowIcon(); + } } diff --git a/samples/UnoPlatformSample/UnoPlatformSample.Base/base.props b/samples/UnoPlatformSample/UnoPlatformSample.Base/base.props index 10bfdc157..6c37f9c20 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.Base/base.props +++ b/samples/UnoPlatformSample/UnoPlatformSample.Base/base.props @@ -1,5 +1,6 @@ + diff --git a/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/Serialization/WeatherForecastContext.cs b/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/Serialization/WeatherForecastContext.cs index 68a17a7aa..240177a1e 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/Serialization/WeatherForecastContext.cs +++ b/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/Serialization/WeatherForecastContext.cs @@ -24,13 +24,16 @@ using System.Text.Json.Serialization; namespace UnoPlatformSample.DataContracts.Serialization; -/* - * When using the JsonSerializerContext you must add the JsonSerializableAttribute - * for each type that you may need to serialize / deserialize including both the - * concrete type and any interface that the concrete type implements. - * For more information on the JsonSerializerContext see: - * https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation?WT.mc_id=DT-MVP-5002924 - */ +/// +/// Generated class for System.Text.Json Serialization +/// +/// +/// When using the JsonSerializerContext you must add the JsonSerializableAttribute +/// for each type that you may need to serialize / deserialize including both the +/// concrete type and any interface that the concrete type implements. +/// For more information on the JsonSerializerContext see: +/// https://learn.microsoft.com/en-us/dotnet/standard/serialization/system-text-json/source-generation?WT.mc_id=DT-MVP-5002924 +/// [JsonSerializable(typeof(WeatherForecast))] [JsonSerializable(typeof(WeatherForecast[]))] [JsonSerializable(typeof(IEnumerable))] diff --git a/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/UnoPlatformSample.DataContracts.csproj b/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/UnoPlatformSample.DataContracts.csproj index a56e0b084..47df750e1 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/UnoPlatformSample.DataContracts.csproj +++ b/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/UnoPlatformSample.DataContracts.csproj @@ -2,7 +2,5 @@ net7.0 true - - $(NoWarn);CS1591 diff --git a/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/WeatherForecast.cs b/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/WeatherForecast.cs index a8fef0c79..ff7bc5598 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/WeatherForecast.cs +++ b/samples/UnoPlatformSample/UnoPlatformSample.DataContracts/WeatherForecast.cs @@ -28,10 +28,10 @@ namespace UnoPlatformSample.DataContracts; /// Gets the Date of the Forecast. /// Gets the Forecast Temperature in Celsius. /// Get a description of how the weather will feel. -public record WeatherForecast(DateOnly Date, int TemperatureC, string? Summary) +public record WeatherForecast(DateOnly Date, double TemperatureC, string? Summary) { /// /// Gets the Forecast Temperature in Fahrenheit /// - public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); + public double TemperatureF => 32 + (TemperatureC * 9 / 5); } diff --git a/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/MainActivity.Android.cs b/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/MainActivity.Android.cs index f51cacc98..346cf8462 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/MainActivity.Android.cs +++ b/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/MainActivity.Android.cs @@ -34,4 +34,4 @@ namespace UnoPlatformSample.Droid; )] public class MainActivity : Microsoft.UI.Xaml.ApplicationActivity { -} +} \ No newline at end of file diff --git a/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/Resources/values/Styles.xml b/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/Resources/values/Styles.xml index fd16cd77f..7e1f95c8d 100644 --- a/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/Resources/values/Styles.xml +++ b/samples/UnoPlatformSample/UnoPlatformSample.Mobile/Android/Resources/values/Styles.xml @@ -8,12 +8,11 @@ true true + - #FFFFFF - @drawable/splash_screen - @drawable/splash_screen - - + @color/uno_splash_color + @drawable/uno_splash_image + @drawable/uno_splash_image