I am trying to get a stacked bar chart but apprently its harder than it looks.
I have been reading this blog: MSDN BLOG
But the documentation of how to actually get it to work is lacking ALOT!
I have also been looking at other stacked bar chart but since me and my company is using Windows XP i am restricted to .Net 4.0 which means that i apprently can only use the offical WPF toolkit.
Now my question is simple, does anyone know any stacked bar charts OR have experiance with the above mentioned blog ?
As you said, the documentation is lacking (ALOT indeed).
It seems that stacked bars aren't really officially released either, since you need to a bit of a hack to get the version 4 of the toolkit in order to get them (see my answer here)
Having said that, I got them up and working.
So my answer to the second one is: Yes :).
You can try to download a trial version of LightningChart, the fastest and fully configurable Charting and Data visualization components for .Net. Examples are included in download package. You also can read about benchmark and see for yourself.
It uses .Net4 framework.
Related
Since I don't like the idea of paying $100 for a chart-engine, I stepped on this article:
Codeguru.com - How to create charts
The result of it looks very rough though, is there a way to style and change the axes of such a self-made chart?
I stepped upon a great chart making library when I was making my application, Its called Visifire. I hope it helps you too. Sample projects are available on msdn too
I found the following Chart Control tutorial for Windows Form is very useful.
http://msdn.microsoft.com/en-us/library/dd456632.aspx
However, I am not able to find the corresponding tutorial for WPF.
Does it even exist in MSDN?
I couldn't find it myself... it seems its Work-In-Progress (for a long time now). The only lead I could find on WPF Charts was on Delay's Blog. He has a sample application with diff possibilities - however it's not easy to pick up. Also the dll version in the samples is different (has more types/functionality) from what comes with the WPF toolkit download
If you are not looking only for charts .Net framework provide.. take a look at this see the options available under charts.. you can find chart providers and nice tutorials
One very famous option for charting is WPF toolkit. You can download sample code demonstrating all charts from here
The best sources of information for charting on WPF are Delay's MSDN blog and the data visualization demos that accompany the charting library releases. Here is the page that describes the charting releases and links to the demos:
Two birds, squared! (Silverlight/WPF Data Visualization Development Release 3 and a DataVisualizationDemos update)
You can also search the MSDN blogs for charting to find many specific tutorials, mostly by Delay:
MSDN Blogs > Search > "charting"
I'm looking for a component that I can use to plot class times against a timeline for four different instructors. So the y axis will contain a timeline at 30 minute intervals, with the instructors class times stacked in one column per instructor. Any idea what control I should look at using? I thinking the MS Chart control stacked column chart may be the solution - not really sure how to set this up...anyone know of a link or example similar to what I'm trying to accomplish?
Chart Control for .NET Framework enables you to add robust charting abilities to your applications with little effort. It is a fully managed .NET Framework component and has been specifically designed for use with Microsoft Visual Studio 2008.
For examples of how to use Chart Control for .NET Framework, download the samples on Codeplex. Also, to access community content, go to the Chart Control Forum.
http://go.microsoft.com/fwlink/?LinkId=128713
I've used Google Chart a few time with success. Use the google machine, I think there are even videos out there on how to use it.
Good luck.
A really simple charting component is to use the System.Windows.Forms.DataVisualization.Charting Chart
http://msdn.microsoft.com/en-us/library/system.windows.forms.datavisualization.charting.chart.aspx
It comes standard in the .NET 4.0 framework -- otherwise you can download a the assemblies here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=130f7986-bf49-4fe5-9ca8-910ae6ea442c&displaylang=en
I use this chart control frequently and have built other components on top of it. It's very straightforward to use and supports databinding
I'm developing a C#/.NET application (Winforms/WPF, not entirely decided yet) which needs to display simple diagrams: boxes/"text boxes", lines/arrows, circles, text etc...
Some items on the diagram need to be clickable/selectable, allowing me to display e.g. a dialog for filling in data on the selected item.
I guess the diagram display could all be done from scratch using e.g. GDI+, but before going down that path I would like to ask for input/suggestions on existing libraries to use (commercial or free)?
I've already tried to google for suitable libraries, but found mostly 2D game-engines or "graph/chart"-rendering libraries. Neither seem to fit my requirements.
Best regards,
Søren
Even if you said you looked already into "graph/chart" libraries. What about Nevron Diagram? The only drawback would be that it is not free, but it doesn't cost that much.
I have used Piccolo2D for Java, but they aslo have a .Net version, and it's community driven.
The only problem is, I don't know how updated the .Net version is or give any comment on how well it works (.Net version).
I've been using Google's Annotated Time Line Visualization component for the last couple of weeks and I love it! I've been able to make plots with about 10k points without much trouble.
Do you know of a desktop component I could plug into my application that delivers the same WOW factor that Google's component does? I don't care what the language/toolkit is. I prefer C#,Java,Ruby,C++ or Python... (in that order) however any other's would apply. I also prefer it to be free and open source, but if it's not that's OK as well.
Thanks for your time!
Note: This doesn't have to be cross-platform. Windows is fine.
Edit (2009-08-07):
Even if I can only plot 10k points, I am fine with that. I would just like a desktop control that delivers the same "wow" factor and works in a similar manner (zooming, scrolling, annotations, etc) that the Google component does.
Edit (2009-09-03):
I really prefer the language to be C#. I started a bounty to see if anyone can find some good ones. I want it to be almost identical to Google's Annotated Timeline Component. I would use Google's Component, but I want a desktop component... and I don't want to run into performance limitations because of the browser. Using Adobe Air is out of the question.
Edit (2009-09-03):
Do not recommend Visifire. I have evaluated it, and it doesn't support zooming. Remember, it must be very close to Google's component in terms of functionality and "wow" factor.
This WPF-based chart control at codeproject may put you in the right direction. It's got smooth panning/zooming/scrolling :
WPF Chart Control With Pan, Zoom and More By John Stewien
If you're needing to plot millions of points, you're going to run into performance issues quickly if the control doesn't have a mechanism for loading/sampling only what it needs to display. Even then, that's a very large number of data point to want to access in one control.
Hm i am not sure if this is what you are looking for, but for java there is the very good library JFreeChart which is not exactly as interactive as the one you mentioned but it is really easy to use and pretty flexible for you to subclass and tweak to your preference.
Perhaps you could take a look at matplotlib. It's a python based library, however it's very flexible in that it can take it's input from a variety of sources.
An alternative is to embed a web browser control in you wpf application. You'll probably need access to the DOM, so you might have to use the WebBrowser in a WinForm. A good article descibing how this is done can be found here.
Microsoft also has free chart control you can get at http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en. It's pretty good--especially for being free.
I have used Dundas charts in the past. They are excellent but pricey. There are several other vendors with good chart controls including DotNetCharting, Telerik, Component Art, and Infragistics.