Jump to content

 

Photo

“MemberName" and " Path " property make into a dynamic


  • Please log in to reply
4 replies to this topic

#1 starrycheng

starrycheng

    Advanced Member

  • Members
  • PipPipPip
  • 84 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 23 March 2012 - 01:19 AM


As the document shows:
<vc:DataSeries RenderAs="Column">
<vc:DataSeries.DataMappings>
<vc:DataMapping MemberName="AxisXLabel" Path="Label"></vc:DataMapping>
<vc:DataMapping MemberName="YValue" Path="YValue"></vc:DataMapping>
</vc:DataSeries.DataMappings>
</vc:DataSeries>

Now with "XAML" defines "DataMappings" . If use the background code , how to bind ?

That is to say:
SLChart.Series[0].DataSource = datas;
SLChart.Series[0].DataMappings.??????????
How to code in the background , specify the “MemberName" and "Path" property ?
So, “MemberName" and " Path " property make into a dynamic...

I like Visifire ,like silverlight...

#2 vivek

vivek

    Advanced Member

  • Team Visifire
  • PipPipPip
  • 3,587 posts
  • Gender:Male
  • Location:Bangalore

Posted 26 March 2012 - 05:12 AM

Your query has been answered on another post.

Regards,
Vivek
Team Visifire


#3 starrycheng

starrycheng

    Advanced Member

  • Members
  • PipPipPip
  • 84 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 26 March 2012 - 06:05 AM

Your query has been answered on another post.




Thank you very much...


Have instances can download?
I like Visifire ,like silverlight...

#4 shoaib

shoaib

    Advanced Member

  • Members
  • PipPipPip
  • 924 posts
  • Gender:Male
  • Location:Bangalore

Posted 29 March 2012 - 05:50 AM

Hi,

We have replied to your query on another post. Please do not ask same query on different post.

With Regards,
Shoaib

#5 starrycheng

starrycheng

    Advanced Member

  • Members
  • PipPipPip
  • 84 posts
  • Gender:Male
  • Location:Shanghai, China

Posted 29 March 2012 - 09:02 AM

Hi,

We have replied to your query on another post. Please do not ask same query on different post.

With Regards,
Shoaib



Thank you very much...





I like Visifire ,like silverlight...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users