Question

I need some sort of interactive chart control for my .NET-based web app. I have some wide XY charts, and the user should be able to interactively scroll and zoom into a specific window on the x axis. Something that acts similar to the google finance control would be nice, but without the need for the date labels or the news event annotations. Also, I'd prefer to avoid Flash, if that's even possible. Can someone please give some recommendations of something that might come close?

EDIT: the "real" google timeline visualization is for date-based data. I just have numeric data. I tried to use that control for non-date data, but it seems to always want to show a date and demands that the first data column actually be a date.

Was it helpful?

Solution

You could try out Flotr, a nice javascript library. It has pretty decent mouse controls and is free to use.

OTHER TIPS

How about using the "real" google finance tool from the Google visualizations project?

http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html

This is the one you are looking for. An almost exact match for the Google Flash graph.

http://www.humblesoftware.com/finance/index

Have a look at the the Google vizualisation API, I guess this is what Google uses on Google Finance. I had a look at a few other chart API's, but this one is free and beautiful.

The Zoom Scrollbar sample on the SoftwareFX site looks like what you are looking for:

http://demo.softwarefx.com/chartfx/aspnet/ajaxsamples/

Check out amCharts. There's XY Chart and Stock charts. Sure these are Flash based charts but I don't think you can have anything this nice and interactive without Flash or Silverlight these days.

jqplot is impressive and improving every day

I wanted to respond to knb's comment about Google Finance chart but seems like there's no reply button. Anyhow, according to this:

http://code.google.com/apis/visualization/documentation/gallery/annotatedtimeline.html#Data_Policy

No data is sent to any server so it doesn't seem like anything is fetched by Google. Anyone have any comment as to this being the case or not? Is it better to err on the side of safety and not use it if concerned about Google having your data?

I've recently used two generic libraries with my .NET work - they both have many different charttypes which include the zooming and scrolling you're after: one is free (ZedGraph) the other is not (Dundas).

I'd happily recommend them both. Dundas is better - but it isn't cheap. Zed is open source so can be quite informative to just read the code.

HighCharts (comercial licenses only) have a pure JS finance like chart the looks good. It is currently in Beta, though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top