Dinu
Dinu

Reputation: 537

Draw a bar chart using C# in windows application

Can I draw a bar chart using C# ? Do I want to use separate library for that? Thank you.

Upvotes: 4

Views: 4795

Answers (4)

Gacek
Gacek

Reputation: 10322

As npinti suggests, I would also recommend ZedGraph

Here you have a lot of examples of barcharts you can draw with ZG:
http://zedgraph.org/wiki/index.php?title=Bar_Charts

Here is also a quite useful explanation on various display settings
http://zedgraph.org/wiki/index.php?title=How_is_BarItem_affected_by_AxisType%3F

ZedGraph provides not only the drawing/charting routines, but also basic interactivity (zooming, checking values of the points etc.) and useful operations (saving in various formats, printing, copying to clipboard).

And some simple example:

alt text

Upvotes: 2

n535
n535

Reputation: 5123

Check out DundasCharts. This library is paid, but it's worth it.

Upvotes: 2

npinti
npinti

Reputation: 52185

You can also check ZedGraph

Upvotes: 2

Oded
Oded

Reputation: 499302

You can use the MS Charting Controls provided by Microsoft.

You should start accepting more answers as well.

Upvotes: 4

Related Questions