TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Ahmed Hammami
NA
1
994
Windows phone app
Jun 4 2014 7:07 AM
Hello
I create a chart in my windows phone application with AmChart ,I want to put the selected value in the chart in a textBox How can i do this
Thnaks
This is my XAML CODE
<amq:PieChart x:Name="MyChart" DataSource="{Binding Data}" ValueMemberPath="value" TitleMemberPath="axis" Grid.ColumnSpan="3" Margin="0,175,10,0" />
And This My c# CODE
public ObservableCollection<ItemData> _data = new ObservableCollection<ItemData>()
{
new ItemData() { axis = "Jan", value=5},
new ItemData() { axis = "Apr", value=10}
};
public ObservableCollection<ItemData> Data { get { return _data; } }
private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
{
this.DataContext = this;
}
public class ItemData
{
public string axis { get; set; }
public double value { get; set; }
}
Reply
Answers (
0
)
how to get list from wcf for windows phone
Passing param tosame silverlight application in other window