C0deMonkey Posted January 8, 2008 Report Share Posted January 8, 2008 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:Chart.Series> <ChartFX:SeriesAttributes BindingPath="{Binding Path=CurrentCpuPerformance, ElementName=ucCpuPerformance, Mode=Default}" Gallery="Line" Fill="{x:Null}" Stroke="#FFF75353"/> </ChartFX:Chart.Series> </ChartFX:Chart> CurrentCpuPerformance is a dependency property in my user control which is a float value representing the current performance of the cpu. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.