Skip to content

Commit 8634f3c

Browse files
committed
Add sparrowchart introduce
1 parent e8b8dca commit 8634f3c

File tree

14 files changed

+520
-0
lines changed

14 files changed

+520
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
5+
</startup>
6+
</configuration>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="Introduction.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:Introduction"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Windows;
8+
9+
namespace Introduction
10+
{
11+
/// <summary>
12+
/// App.xaml の相互作用ロジック
13+
/// </summary>
14+
public partial class App : Application
15+
{
16+
}
17+
}
Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{37994E9A-9547-4C04-AE81-527A0583F0AB}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<AppDesignerFolder>Properties</AppDesignerFolder>
10+
<RootNamespace>Introduction</RootNamespace>
11+
<AssemblyName>Introduction</AssemblyName>
12+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
13+
<FileAlignment>512</FileAlignment>
14+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
15+
<WarningLevel>4</WarningLevel>
16+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PlatformTarget>AnyCPU</PlatformTarget>
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\Debug\</OutputPath>
24+
<DefineConstants>DEBUG;TRACE</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<PlatformTarget>AnyCPU</PlatformTarget>
30+
<DebugType>pdbonly</DebugType>
31+
<Optimize>true</Optimize>
32+
<OutputPath>bin\Release\</OutputPath>
33+
<DefineConstants>TRACE</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<Reference Include="Sparrow.Chart.Wpf.40, Version=13.1.0.118, Culture=neutral, PublicKeyToken=50f33fb8697e9a92, processorArchitecture=MSIL">
39+
<HintPath>..\packages\Sparrow.Chart.Wpf.13.1.0.118\lib\net40\Sparrow.Chart.Wpf.40.dll</HintPath>
40+
<Private>True</Private>
41+
</Reference>
42+
<Reference Include="System" />
43+
<Reference Include="System.Data" />
44+
<Reference Include="System.Xml" />
45+
<Reference Include="Microsoft.CSharp" />
46+
<Reference Include="System.Core" />
47+
<Reference Include="System.Xml.Linq" />
48+
<Reference Include="System.Data.DataSetExtensions" />
49+
<Reference Include="System.Net.Http" />
50+
<Reference Include="System.Xaml">
51+
<RequiredTargetFramework>4.0</RequiredTargetFramework>
52+
</Reference>
53+
<Reference Include="WindowsBase" />
54+
<Reference Include="PresentationCore" />
55+
<Reference Include="PresentationFramework" />
56+
</ItemGroup>
57+
<ItemGroup>
58+
<ApplicationDefinition Include="App.xaml">
59+
<Generator>MSBuild:Compile</Generator>
60+
<SubType>Designer</SubType>
61+
</ApplicationDefinition>
62+
<Compile Include="ViewModel.cs" />
63+
<Page Include="MainWindow.xaml">
64+
<Generator>MSBuild:Compile</Generator>
65+
<SubType>Designer</SubType>
66+
</Page>
67+
<Compile Include="App.xaml.cs">
68+
<DependentUpon>App.xaml</DependentUpon>
69+
<SubType>Code</SubType>
70+
</Compile>
71+
<Compile Include="MainWindow.xaml.cs">
72+
<DependentUpon>MainWindow.xaml</DependentUpon>
73+
<SubType>Code</SubType>
74+
</Compile>
75+
</ItemGroup>
76+
<ItemGroup>
77+
<Compile Include="Properties\AssemblyInfo.cs">
78+
<SubType>Code</SubType>
79+
</Compile>
80+
<Compile Include="Properties\Resources.Designer.cs">
81+
<AutoGen>True</AutoGen>
82+
<DesignTime>True</DesignTime>
83+
<DependentUpon>Resources.resx</DependentUpon>
84+
</Compile>
85+
<Compile Include="Properties\Settings.Designer.cs">
86+
<AutoGen>True</AutoGen>
87+
<DependentUpon>Settings.settings</DependentUpon>
88+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
89+
</Compile>
90+
<EmbeddedResource Include="Properties\Resources.resx">
91+
<Generator>ResXFileCodeGenerator</Generator>
92+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
93+
</EmbeddedResource>
94+
<None Include="packages.config" />
95+
<None Include="Properties\Settings.settings">
96+
<Generator>SettingsSingleFileGenerator</Generator>
97+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
98+
</None>
99+
<AppDesigner Include="Properties\" />
100+
</ItemGroup>
101+
<ItemGroup>
102+
<None Include="App.config" />
103+
</ItemGroup>
104+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
106+
Other similar extension points exist, see Microsoft.Common.targets.
107+
<Target Name="BeforeBuild">
108+
</Target>
109+
<Target Name="AfterBuild">
110+
</Target>
111+
-->
112+
</Project>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<Window x:Class="Introduction.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:Introduction"
7+
xmlns:sc="http://sparrowtoolkit.codeplex.com/wpf"
8+
mc:Ignorable="d"
9+
Title="Introduction" Height="350" Width="525">
10+
<Window.DataContext>
11+
<local:ViewModel />
12+
</Window.DataContext>
13+
14+
<sc:SparrowChart>
15+
<sc:SparrowChart.XAxis>
16+
<sc:LinearXAxis />
17+
</sc:SparrowChart.XAxis>
18+
<sc:SparrowChart.YAxis>
19+
<sc:LinearYAxis />
20+
</sc:SparrowChart.YAxis>
21+
22+
<sc:LineSeries PointsSource="{Binding Path=Points}" XPath="X" YPath="Fx" />
23+
</sc:SparrowChart>
24+
</Window>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
4+
using System.Text;
5+
using System.Threading.Tasks;
6+
using System.Windows;
7+
using System.Windows.Controls;
8+
using System.Windows.Data;
9+
using System.Windows.Documents;
10+
using System.Windows.Input;
11+
using System.Windows.Media;
12+
using System.Windows.Media.Imaging;
13+
using System.Windows.Navigation;
14+
using System.Windows.Shapes;
15+
16+
namespace Introduction
17+
{
18+
/// <summary>
19+
/// MainWindow.xaml の相互作用ロジック
20+
/// </summary>
21+
public partial class MainWindow : Window
22+
{
23+
public MainWindow()
24+
{
25+
InitializeComponent();
26+
}
27+
}
28+
}
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
using System.Reflection;
2+
using System.Resources;
3+
using System.Runtime.CompilerServices;
4+
using System.Runtime.InteropServices;
5+
using System.Windows;
6+
7+
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
8+
// アセンブリに関連付けられている情報を変更するには、
9+
// これらの属性値を変更してください。
10+
[assembly: AssemblyTitle("Introduction")]
11+
[assembly: AssemblyDescription("")]
12+
[assembly: AssemblyConfiguration("")]
13+
[assembly: AssemblyCompany("")]
14+
[assembly: AssemblyProduct("Introduction")]
15+
[assembly: AssemblyCopyright("Copyright © 2016")]
16+
[assembly: AssemblyTrademark("")]
17+
[assembly: AssemblyCulture("")]
18+
19+
// ComVisible を false に設定すると、その型はこのアセンブリ内で COM コンポーネントから
20+
// 参照不可能になります。COM からこのアセンブリ内の型にアクセスする場合は、
21+
// その型の ComVisible 属性を true に設定してください。
22+
[assembly: ComVisible(false)]
23+
24+
//ローカライズ可能なアプリケーションのビルドを開始するには、
25+
//.csproj ファイルの <UICulture>CultureYouAreCodingWith</UICulture> を
26+
//<PropertyGroup> 内部で設定します。たとえば、
27+
//ソース ファイルで英語を使用している場合、<UICulture> を en-US に設定します。次に、
28+
//下の NeutralResourceLanguage 属性のコメントを解除します。下の行の "en-US" を
29+
//プロジェクト ファイルの UICulture 設定と一致するよう更新します。
30+
31+
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
32+
33+
34+
[assembly: ThemeInfo(
35+
ResourceDictionaryLocation.None, //テーマ固有のリソース ディクショナリが置かれている場所
36+
//(リソースがページ、
37+
//またはアプリケーション リソース ディクショナリに見つからない場合に使用されます)
38+
ResourceDictionaryLocation.SourceAssembly //汎用リソース ディクショナリが置かれている場所
39+
//(リソースがページ、
40+
//アプリケーション、またはいずれのテーマ固有のリソース ディクショナリにも見つからない場合に使用されます)
41+
)]
42+
43+
44+
// アセンブリのバージョン情報は次の 4 つの値で構成されています:
45+
//
46+
// メジャー バージョン
47+
// マイナー バージョン
48+
// ビルド番号
49+
// Revision
50+
//
51+
// すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を
52+
// 既定値にすることができます:
53+
// [assembly: AssemblyVersion("1.0.*")]
54+
[assembly: AssemblyVersion("1.0.0.0")]
55+
[assembly: AssemblyFileVersion("1.0.0.0")]

Windows/SparrowChart/Introduction/Properties/Resources.Designer.cs

Lines changed: 71 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)