Draw a bar chart using C # in a Windows application

Is it possible to draw a histogram using C #? I want to use a separate library for this? Thank.

+4
source share
4 answers

You can use MS Charting Controls provided by Microsoft.

You should also accept other answers.

+4
source

You can also check out ZedGraph

+2
source
+2

npinti, ZedGraph

, ZG:
http://zedgraph.org/wiki/index.php?title=Bar_Charts

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

ZedGraph provides not only drawing / plotting procedures, but also basic interactivity (scaling, checking point values, etc.) and useful operations (saving in various formats, printing, copying to the clipboard).

And a simple example:

alt text

+2
source

Source: https://habr.com/ru/post/1745626/


All Articles