Bar Histogram Charts

Oystein Bjorke 10 aastat tagasi 0
This discussion was imported from CodePlex

jpnavarini wrote at 2012-03-20 21:34:

I would like to create a bar chart, in order to estimate a Histogram. I don't need to plot the fitted histogram, only the bars, as shown on the following figure from WikiPedia: http://en.wikipedia.org/wiki/File:Black_cherry_tree_histogram.svg

I would like to have bar a chart in a linear vs. linear axes configuration. Then I would have in the bottom axis the values and in the left axis the frequency of occurence of the values in the interval defined by the bar basis.

Is is posible to do this kind of plot with OxyPlot? How it can be done?


objo wrote at 2012-03-30 13:32:

The BarSeries requires a CategoryAxis.

Try the RectangleBarSeries which should support linear axes, but this means you have to set the minimum and maximum X/Y of each rectangle (bar).