Jump to content
Software FX Community

LinQ and ChartFX for WPF


MJR

Recommended Posts

 I'm having trouble displaying MS SQL data in a chart using LinQ

 Code below shows empty Chart

Dim Query = From cust In Db.ViewCustomerHistories _Group By Period = cust.Period _

Into Sales = Sum(cust.Sales)

Chart1.ItemsSource = Query.ToList()

 

 The Following Code works and displays a chart

Dim Db = New ARCollectionsDataContextDim Query = From cust In Db.ViewCustomerHistories _ Group By Period = cust.Period _

Into Sales = Sum(1000)

Chart1.ItemsSource = Query.ToList()

 

For some reason money type from a database is causing problems.

Any ideas

Link to comment
Share on other sites

  • 3 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...