Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
Binding chart series to a series collection.
posted

Hi, 

Can we bind the "Series" property on the XamChart to a series collection. Something like this:

 

  <igCA:XamChart  Name="xamChart1" Margin="45,79,177,31"

                           Series ="{Binding mySeriesCollection}" />

 

I tried the above code, but doesn't seem to work.

Is there any way to achieve this kind of functionality. 

 

Let me know. 

Thanks, 

NG

 

 

  • 17605
    posted

    XamChart has some issues with binding the series collection. Instead of this try using binding individual series to some data source:

     

      <igCA:XamChart>

                <igCA:XamChart.Series>

                    <igCA:Series DataSource="{Binding …}" DataMapping="{…}" />

                </igCA:XamChart.Series>

            </igCA:XamChart>