2014-06-06 71 views
0

我使用AmChart創建了Windows Phone應用程序中的圖表。我想將選擇值放入圖表的文本框中如何才能做到這一點?深入瞭解Windows Phone

這是我的代碼(XAML)迄今:

<!--ContentPanel - placez tout contenu supplémentaire ici--> 
    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0"> 
     <amq:SerialChart x:Name="MainPage1" DataSource="{Binding Data}" CategoryValueMemberPath="axis" 
AxisForeground="White" 
PlotAreaBackground="Black" 
GridStroke="DarkGray" > 
      <amq:SerialChart.Graphs> 
       <amq:ColumnGraph ValueMemberPath="value" Title="Column #2" Brush="#8000FF00" ColumnWidthAllocation="0.4" /> 
      </amq:SerialChart.Graphs> 
     </amq:SerialChart> 
     <amq:PieChart x:Name="Pie" DataSource="{Binding Data}" TitleMemberPath="axis" ValueMemberPath="value"/> 
        <TextBox HorizontalAlignment="Left" Height="72" Margin="184,326,-184,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="456"/> 

    </Grid> 



</phone:PhoneApplicationPage> 

回答

0

以下library,您可以在Windows手機上輕鬆創建圖表..

看看在here