Quantcast
Channel: OxyPlot (moved to GitHub)
Viewing all articles
Browse latest Browse all 2061

New Post: Unexplained gap in histogram

$
0
0
I'm creating a histogram in WPF using CategoryAxis and ColumnSeries. I've set the gap width to 0 and ensured the bar width is 1.0, but I'm still getting a gap between the columns. Curiously, when I run the histogram examples, there's no gap, but if I build a new chart using the same code, a gap appears. I traced into CategorySeries.GetRectangle(), and it appears to be producing the correct results - no gap between the rectangles - but that's not what's showing up on the screen. Any idea what's going on? Could this have something to do with WPF fudging the rectangles?

Viewing all articles
Browse latest Browse all 2061

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>