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
jagadish patil
NA
38
0
Binding chart to xml xpath in wpf
Jan 3 2011 8:26 AM
Hi Friends.
I m using Chart in Flow Document.The Flow document is bound to xml with help of
XmlDataProvider
Now the issue is.How can i bind chart to the xpath;
I tried like this.But this is not working.pls help me on the same.
<
XmlDataProvider
x
:
Key
="ProductData"
Source
="test.xml"
XPath
="main/test"
/>
<
charting
:
Chart.DataContext
>
<
Binding
Source
="{
StaticResource
ProductData
}" />
</
charting
:
Chart.DataContext
>
<
charting
:
LineSeries.DependentRangeAxis
>
<
charting
:
LinearAxis
DependentValueBinding
="{
Binding
XPath
=VALUE}">
IndependentValueBinding
="{
Binding
XPath
=KEY}"
<
charting
:
LineSeries
x
:
Name
="dds"
Title
=""
ItemsSource
="{
Binding
XPath
=CHARTDATAS
/
CHARTS
/
CHART2
/
CHARTS
/
CHART}"
<
charting
:
Chart
Padding
="5,5,5,60"
Title
="dfgf
"
Canvas.Top
="80"
Canvas.Left
="10"
Name
="mcChart"
Width
="1000"
Height
="600"
Background
="LightSteelBlue">
Reply
Answers (
0
)
Checkbox in MVC
Monotouch Application Submition