Jump to content
Software FX Community

LinQ and ChartFX for WPF


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...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...