microcharts-dotnet/Microcharts

Overlapping horizontal labels in large data sets

Open

#115 opened on 2018年8月20日

GitHub で見る
 (5 comments) (1 reaction) (0 assignees)C# (361 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (2,076 stars)
PR merge metrics
 (平均マージ 16d 19h) (30d で 4 merged PRs)

説明

So I've found a bug where, with large data sets, horizontal labels seem to get cut off because I assume they are overlapping.

Here's a little context on what I'm trying to do. I've got a large data set (hundreds of points) that I'm graphing as a line chart. I've created a neat little widget that allows the user to see the graph at different snapshots. It works great when you have a small number of points! However, when I graph a large enough number of points, labels start overlapping. Now, I'm not trying to draw hundreds of labels, I only assign label values to 7 or chart entries, regardless of how many points I put into the chart. My assumption was that for larger data sets, only the labels I assigned would appear. This does not appear to be working.

For the moment, as a workaround, I'm only going to graph the data points that I label, but doing means my graph loses a lot of granularity and detail. Any help with this would be appreciated.

Thanks for all your work, this is a great library and I'm glad I pulled it into my project!

overlapping labels bug

コントリビューターガイド