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
srujana gudla
NA
28
21.2k
How to bind XML data to the bar chart in windows phone application
Jul 17 2012 7:56 AM
Hi, I want to bind web service returned XML data to bar chart,
for this I wrote the following code but it shows the empty.
can anybody help me in this.
my code:
C#:
XElement xmlNews = XElement.Parse(e.Result.ToString());
ColumnSeries series = new ColumnSeries();
series.SetBinding(ColumnSeries.ItemsSourceProperty, new Binding());
series.ItemsSource = from item in xmlNews.Descendants("SyllabusDetails")
select new Institute
{
Adress = item.Element("SubjectName").Value,
year = item.Element("ResultedMarks").Value
};
XAML:
<charting:Chart Foreground="Blue" x:Name="seriesChart" Background="Black">
<charting:ColumnSeries Foreground="Pink" IndependentValuePath="year" DependentValuePath="Adress" Background="Black" />
</charting:Chart>
Reply
Answers (
1
)
sQL QUERY - NEEDED
multiple value insertion in a single cell os grid view using checkbox