Plotting a histogram with edge values #2125
Replies: 1 comment
-
OxyPlot has no provision at current for offsetting the computed tick values: the only reliable way to force these would be to extend the axis you're working with a override The logic for creating the gaps looks fine, though having - what I assume are cosmetic - gaps in a histogram is unusual, and you're forcing the area to a count which means the area may be misleading: if you have essentially categorical data than consider a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to plot a histogram as shown in the picture, but it doesn't work out that way. And I don't understand what I'm doing wrong.

I want to have the first boundary at the minimum. Then the width of the column is added to it and this is the beginning of the second column.
`var plotModel = new PlotModel();
var histogramSeries = new HistogramSeries
{
FillColor = OxyColors.SkyBlue,
StrokeColor = OxyColors.Black,
StrokeThickness = 1,
FontSize = 11
};
Beta Was this translation helpful? Give feedback.
All reactions