Jump to content
Software FX Community

Newbie Databinding question


Recommended Posts

I am building a cpu performance chart in my application where I want to bind the chart to the current sampling of the computers cpu performance.  When I bind to the chart I am not getting anything to display.  Here is my xaml i'm sure that i am missing something.

<ChartFX:Chart Margin="136,45,23,52" Gallery="Line" Background="#FF000000" UseVisuals="True">


<ChartFX:SeriesAttributes BindingPath="{Binding Path=CurrentCpuPerformance, ElementName=ucCpuPerformance, Mode=Default}" Gallery="Line" Fill="{x:Null}" Stroke="#FFF75353"/>



CurrentCpuPerformance is a dependency property in my user control which is a float value representing the current performance of the cpu.

Link to comment
Share on other sites

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