mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-03-10 11:40:51 +08:00
项目结构调整
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<UserControl x:Class="Wpf.CartesianChart.InLineSyntaxTest"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:lc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
|
||||
xmlns:liveCharts="clr-namespace:LiveCharts;assembly=LiveCharts"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="300" d:DesignWidth="300">
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"></RowDefinition>
|
||||
<RowDefinition Height="*"></RowDefinition>
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock>This chart is totally built with XAML.</TextBlock>
|
||||
<lc:CartesianChart Grid.Row="1">
|
||||
<lc:CartesianChart.Series>
|
||||
<lc:LineSeries Values="1,2,3,5" />
|
||||
<lc:LineSeries Values="4,6,2,5" />
|
||||
</lc:CartesianChart.Series>
|
||||
<lc:CartesianChart.AxisX>
|
||||
<lc:Axis Labels="Jan, Feb, Mar, Apr, May, Jun, Ago, Sep, Oct"/>
|
||||
</lc:CartesianChart.AxisX>
|
||||
</lc:CartesianChart>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Wpf.CartesianChart
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for InLineSintaxTest.xaml
|
||||
/// </summary>
|
||||
public partial class InLineSyntaxTest : UserControl
|
||||
{
|
||||
public InLineSyntaxTest()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user