钻下窗户电话

时间:2014-06-06 08:21:53

标签: xaml windows-phone

我使用AmChart在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>

1 个答案:

答案 0 :(得分:0)

以下library允许您在Windows Phone中轻松创建图表..

查看here