0

アプリケーションでチャートを使用したいと考えていWindows Phone 8.1ます。したがって、このチュートリアルに従って、次のことを行いました。

  1. 次のパッケージをインストールしました。

    ここに画像の説明を入力

  2. 私は次のものを持っていますXAML

    <Page xmlns:Charting="using:WinRTXamlToolkit.Controls.DataVisualization.Charting" 
    x:Class="MST_61462004_E3T02.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:MST_61462004_E3T02"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
    
    <Grid>
    
        <Charting:Chart x:Name="PieChart"
                        HorizontalAlignment="Left"
                        VerticalAlignment="Top"
                        Margin="100,100,0,0"
                        Width="400"
                        Height="400">
            <Charting:PieSeries Margin="0"
                                IndependentValuePath="Name"
                                DependentValuePath="Amount"
                                IsSelectionEnabled="True" />
        </Charting:Chart>
    
    
    </Grid>
    

しかし、次のエラーが表示されます。

エラー 1 ファイルまたはアセンブリ 'WinRTXamlToolkit, Version=1.8.1.0, Culture=neutral, PublicKeyToken=null' またはその依存関係の 1 つを読み込めませんでした。システムは、指定されたファイルを見つけることができません。

windows runtime空のプロジェクトを使用しています。

誰がエラーの原因を指摘できますか?

4

1 に答える 1