开发者

WPF tool for charts, diagrams, graphs [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

开发者_高级运维

Closed 8 years ago.

Improve this question

I'm looking for a very simple wpf diagram toolset that would allow me to create simple charts based on data from the database. I need a simple solution - I have seen many that were too advanced, allowing the programmer to create UML diagrams, complicated charts, etc. I want to be able to show simple changes over time with a line - that's it.

I would really appreciate any help on that as well as suggestions.

Thanks.


The free WPFToolkit includes a very simple and easy to use charting implementation in its DataVisualization.Toolkit DLL. It tends to be very good for quick and easy charting of data without having to put much thought into it. It can be as simple as:

<toolkit:Chart>
  <toolkit:LineSeries Title="Series Title"
                      ItemsSource="{Binding Data}"
                      IndependentValueBinding="{Binding Month}"
                      DependentValueBinding="{Binding Value}" />

  <toolkit:LineSeries ... />
</toolkit:Chart>

This assumes your Data is a list of objects each containing a Month and a Value field. Or you can generate such objects with LINQ:

Data =
  from xyz in myData
  select new { Month = xyz.ComputeMonth(), Value = xyz.Count };


I just came along this one and it seems to be quite exactly what I've been searching for for some time now. Since I didn't find what I was looking for on stackoverflow, I just wanted to let you know:

http://oxyplot.codeplex.com/


The WPF Toolkit has standard classic charts; Delay's blog has a few tutorials/demos on what you can do with them, and how to use them. Would that be sufficient for your purposes?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜