クイックスタートThe following quick start guide is intended to get you up and running with the FlexChart control. In this quick start, you start by creating a new WinUI application, add the FlexChart control to it, and bind it with a datasource. The following image displays the FlexChart control showing the sales details of products.
XAML |
コードのコピー
|
---|---|
xmlns:c1="using:C1.WinUI.Chart" |
XAML |
コードのコピー
|
---|---|
<c1:FlexChart x:Name="flexChart" BindingX="Date" ChartType="LineSymbols" Height="500"> <c1:FlexChart.Series> <c1:Series SeriesName="Sales" Binding="Revenue"/> </c1:FlexChart.Series> </c1:FlexChart> |
C# |
コードのコピー
|
---|---|
flexChart.ItemsSource = DataService.GetProductRevenue(); |