-
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 #615 from beto-rodriguez/dev
Beta 400
- Loading branch information
Showing
129 changed files
with
3,140 additions
and
325 deletions.
There are no files selected for viewing
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,15 @@ | ||
<UserControl x:Class="AvaloniaSample.General.VisualElements.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.VisualElements"> | ||
<UserControl.DataContext> | ||
<vms:ViewModel/> | ||
</UserControl.DataContext> | ||
<Grid> | ||
<lvc:CartesianChart | ||
Series="{Binding Series}" | ||
VisualElements="{Binding VisualElements}"> | ||
</lvc:CartesianChart> | ||
</Grid> | ||
</UserControl> |
17 changes: 17 additions & 0 deletions
17
samples/AvaloniaSample/General/VisualElements/View.axaml.cs
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.VisualElements; | ||
|
||
public 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
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 @@ | ||
@page "/General/VisualElements" | ||
@using LiveChartsCore.SkiaSharpView.Blazor | ||
@using ViewModelsSamples.General.VisualElements | ||
|
||
<CartesianChart | ||
Series="ViewModel.Series" | ||
VisualElements="ViewModel.VisualElements"> | ||
</CartesianChart> | ||
|
||
@code { | ||
public ViewModel ViewModel { get; set; } = new(); | ||
} |
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,21 @@ | ||
using Eto.Forms; | ||
using LiveChartsCore.SkiaSharpView.Eto; | ||
using ViewModelsSamples.General.VisualElements; | ||
|
||
namespace EtoFormsSample.General.VisualElements; | ||
|
||
public class View : Panel | ||
{ | ||
public View() | ||
{ | ||
var viewModel = new ViewModel(); | ||
|
||
var cartesianChart = new CartesianChart | ||
{ | ||
Series = viewModel.Series, | ||
VisualElements = viewModel.VisualElements, | ||
}; | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<ContentPage x:Class="MauiSample.General.VisualElements.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.VisualElements;assembly=ViewModelsSamples" | ||
> | ||
<ContentPage.BindingContext> | ||
<vms:ViewModel/> | ||
</ContentPage.BindingContext> | ||
<ContentPage.Content> | ||
<Grid> | ||
<lvc:CartesianChart | ||
Series="{Binding Series}" | ||
VisualElements="{Binding VisualElements}"> | ||
</lvc:CartesianChart> | ||
</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.VisualElements; | ||
|
||
[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
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 @@ | ||
<UserControl | ||
x:Class="UWPSample.General.VisualElements.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.VisualElements" | ||
mc:Ignorable="d"> | ||
|
||
<UserControl.DataContext> | ||
<vms:ViewModel/> | ||
</UserControl.DataContext> | ||
|
||
<Grid> | ||
<lvc:CartesianChart | ||
Series="{Binding Series}" | ||
VisualElements="{Binding VisualElements}"> | ||
</lvc:CartesianChart> | ||
</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.VisualElements | ||
{ | ||
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
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
22 changes: 22 additions & 0 deletions
22
samples/UnoSample/UnoSample.Shared/LiveChartsSamples/General/VisualElements/View.xaml
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 @@ | ||
<UserControl | ||
x:Class="UnoSample.General.VisualElements.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.VisualElements" | ||
mc:Ignorable="d"> | ||
|
||
<UserControl.DataContext> | ||
<vms:ViewModel/> | ||
</UserControl.DataContext> | ||
|
||
<Grid> | ||
<lvc:CartesianChart | ||
Series="{Binding Series}" | ||
VisualElements="{Binding VisualElements}"> | ||
</lvc:CartesianChart> | ||
</Grid> | ||
|
||
</UserControl> |
11 changes: 11 additions & 0 deletions
11
samples/UnoSample/UnoSample.Shared/LiveChartsSamples/General/VisualElements/View.xaml.cs
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,11 @@ | ||
using Windows.UI.Xaml.Controls; | ||
|
||
namespace UnoSample.General.VisualElements; | ||
|
||
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
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
22 changes: 22 additions & 0 deletions
22
...e/UnoWinUISample/UnoWinUISample.Shared/LiveChartsSamples/General/VisualElements/View.xaml
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 @@ | ||
<UserControl | ||
x:Class="UnoWinUISample.General.VisualElements.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.WinUI" | ||
xmlns:vms="using:ViewModelsSamples.General.VisualElements" | ||
mc:Ignorable="d"> | ||
|
||
<UserControl.DataContext> | ||
<vms:ViewModel/> | ||
</UserControl.DataContext> | ||
|
||
<Grid> | ||
<lvc:CartesianChart | ||
Series="{Binding Series}" | ||
VisualElements="{Binding VisualElements}"> | ||
</lvc:CartesianChart> | ||
</Grid> | ||
|
||
</UserControl> |
11 changes: 11 additions & 0 deletions
11
...noWinUISample/UnoWinUISample.Shared/LiveChartsSamples/General/VisualElements/View.xaml.cs
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,11 @@ | ||
using Microsoft.UI.Xaml.Controls; | ||
|
||
namespace UnoWinUISample.General.VisualElements; | ||
|
||
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
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.