Creating Charts in WP7 - c#

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

Related

Stacked bar chart WPF

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.

Creating Advanced Gantt Chart

I am workin on an automation of production follow-up project with c# and we are producing fabric. and we have many customers and their works are running on about 100 weaving machines.
so there is a planning departman and they are deciding to optimum time-save and many time one customers product weaving on multiple machines.
This excel sheet capture shows which machine work wich job and will work after current work. and user can carry the work if she decide to carry to another machine.
in thispicture first line is date line and different colors are different works...
I want a gantt chart as flexible as this. are there any solution for it?
I think, your task has two facets: there is a scheduling challenge (time-optimized allocation of the production flow) and a visualization challenge (display the plan on a comprehensive screen). If you go for a Gantt chart to cope with the visualization challenge, make sure that it is interactive and allows the planner to make changes on the screen and that these changes are written back into your planning system. Also, the Gantt should be open and flexible enough to deal with business rules so that the outer appearance can be context-sensitive. Here is an example of how a Gantt chart can work in a production environment: http://youtu.be/oXRUy90lpsM
Does this help you?
There's a commercial component for creating such charts with quite good documentation from PlexityHide. But you can also use e.g. a general charting framework such as the Microsoft Chart Controls to recreate what you want. Certainly there are several more.
Here's some getting-started
http://www.codeproject.com/KB/webforms/EventCalendarControl.aspx
http://naspinski.net/post/Simple-Gantt-Chart-with-Aspnet.aspx
Or use ZedGraph:
http://sourceforge.net/projects/zedgraph/
http://www.codeproject.com/KB/web-image/ZedGraph.aspx
Also, MS-Chart controls is nice.
See here to get started:
http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
There is a very good Production Planning online sample here which lets you drag and drop color coded tasks from one machine to another:
http://demos.radiantq.com/jQueryGanttDemo/Demo.htm
There is also .NET versions of the Gantt component which lets you build something similar in a desktop application.

Suggession on Line Chart

I have a requirement to create Chart like this :
http://sourceforge.net/projects/ecgtoolkit-cs/
I have to be very specific on how much data it needs to display per unit in graph. I can do it using manual Drawing, but is there any easy way to build this without doing it manually?
I am thinking about the alternatives.
Thanks in advance.
ZedGraph will do the job. It's easy to setup and make exactly what you want and you can control the data through the IPointList classes.
The only negative is the current lack of support, however there's a lot of info in the Wayback Machine, as well as support board at SourceForge
Telerik is a reliable and high quality control maker. Alot of people will attest to the quality and ease of development with Telerik Rad Controls.

Desktop Version of Google's Annotated Time Line Component?

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.

Advanced visualization options for ASP.NET

I'm looking for ways to present statistical information in my ASP.NET web application. Ease of use is not a priority: I have tried "Microsoft Chart Controls for Microsoft .NET Framework 3.5" and would like to have much more control on how my data is presented. Price is also of great importance...
Please advise.
you can try Fusion charts
also you can try charting controls. Here is the article link:
http://weblogs.asp.net/scottgu/archive/2008/11/24/new-asp-net-charting-control-lt-asp-chart-runat-quot-server-quot-gt.aspx
A few years ago (during the IE5/DHTML heyday) I was in a team that created an entire medical application with alot of visual indicators built entirely with javascript (data was loaded from the server via Remote Scripting (now known as Ajax). We basically filled divs by correlating it's height/width pixel count with the 0 to 100% range.
I'm just sayin, something to consider :)
Rodney
ComponentArt have some really good .NET visualization components for any kind of data. From what I remember (1 year ago), depending on your budget, their prices may be out of reach, but you weren't specific as to a budget.
Chart Controls is pretty powerful. For an example of advanced out-of-the-box functionality, see my HEDIS chart demo. You can extend Chart Controls in many ways and even write your own custom painting logic.
Maybe, Google Chart will do?

Categories

Resources