-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1352 from beto-rodriguez/dev
rc2
- Loading branch information
Showing
491 changed files
with
4,173 additions
and
3,578 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
For Uno, open ./samples/UnoPlatform_v5/UnoPlatform_v5.sln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<UserControl x:Class="AvaloniaSample.General.DrawOnCanvas.View" | ||
xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:lvc="using:LiveChartsCore.SkiaSharpView.Avalonia" | ||
xmlns:vms="using:ViewModelsSamples.General.DrawOnCanvas"> | ||
<UserControl.DataContext> | ||
<vms:ViewModel/> | ||
</UserControl.DataContext> | ||
|
||
<Grid> | ||
<lvc:CartesianChart UpdateStartedCommand="{Binding ChartUpdatedCommand}"/> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using Avalonia.Controls; | ||
using Avalonia.Markup.Xaml; | ||
|
||
namespace AvaloniaSample.General.DrawOnCanvas; | ||
|
||
public partial class View : UserControl | ||
{ | ||
public View() | ||
{ | ||
InitializeComponent(); | ||
} | ||
|
||
private void InitializeComponent() | ||
{ | ||
AvaloniaXamlLoader.Load(this); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@page "/General/DrawOnCanvas" | ||
@using LiveChartsCore.SkiaSharpView.Blazor | ||
@using ViewModelsSamples.General.DrawOnCanvas | ||
|
||
<CartesianChart | ||
@ref="chart"> | ||
</CartesianChart> | ||
|
||
@code { | ||
public CartesianChart chart = null!; | ||
public ViewModel ViewModel { get; set; } = new(); | ||
|
||
protected override void OnAfterRender(bool firstRender) | ||
{ | ||
base.OnAfterRender(firstRender); | ||
|
||
chart.UpdateStarted += chart => | ||
{ | ||
ViewModel.ChartUpdated(new(chart)); | ||
}; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
using Eto.Forms; | ||
using LiveChartsCore.SkiaSharpView.Eto; | ||
using ViewModelsSamples.General.DrawOnCanvas; | ||
|
||
namespace EtoFormsSample.General.DrawOnCanvas; | ||
|
||
public class View : Panel | ||
{ | ||
private readonly CartesianChart cartesianChart; | ||
|
||
public View() | ||
{ | ||
var viewModel = new ViewModel(); | ||
|
||
cartesianChart = new CartesianChart(); | ||
cartesianChart.UpdateStarted += chart => | ||
{ | ||
viewModel.ChartUpdated(new(chart)); | ||
}; | ||
|
||
Content = cartesianChart; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage x:Class="MauiSample.General.DrawOnCanvas.View" | ||
xmlns="http://schemas.microsoft.com/dotnet/2021/maui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" | ||
xmlns:lvc="clr-namespace:LiveChartsCore.SkiaSharpView.Maui;assembly=LiveChartsCore.SkiaSharpView.Maui" | ||
xmlns:vms="clr-namespace:ViewModelsSamples.General.DrawOnCanvas;assembly=ViewModelsSamples" | ||
> | ||
<ContentPage.BindingContext> | ||
<vms:ViewModel/> | ||
</ContentPage.BindingContext> | ||
<ContentPage.Content> | ||
<Grid> | ||
<lvc:CartesianChart UpdateStartedCommand="{Binding ChartUpdatedCommand}"/> | ||
</Grid> | ||
</ContentPage.Content> | ||
</ContentPage> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
namespace MauiSample.General.DrawOnCanvas; | ||
|
||
[XamlCompilation(XamlCompilationOptions.Compile)] | ||
public partial class View : ContentPage | ||
{ | ||
public View() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<UserControl | ||
x:Class="UWPSample.General.DrawOnCanvas.View" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:lvc="using:LiveChartsCore.SkiaSharpView.Uno" | ||
xmlns:vms="using:ViewModelsSamples.General.DrawOnCanvas" | ||
mc:Ignorable="d"> | ||
|
||
<UserControl.DataContext> | ||
<vms:ViewModel/> | ||
</UserControl.DataContext> | ||
|
||
<Grid> | ||
<lvc:CartesianChart UpdateStartedCommand="{Binding ChartUpdatedCommand}"/> | ||
</Grid> | ||
|
||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Windows.UI.Xaml.Controls; | ||
|
||
namespace UWPSample.General.DrawOnCanvas | ||
{ | ||
public sealed partial class View : UserControl | ||
{ | ||
public View() | ||
{ | ||
InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.