microcharts-dotnet/Microcharts

Overlapping horizontal labels in large data sets

Open

#115 建立於 2018年8月20日

在 GitHub 查看
 (5 留言) (1 反應) (0 負責人)C# (361 fork)github user discovery
enhancementhelp wanted

倉庫指標

Star
 (2,076 star)
PR 合併指標
 (平均合併 16天 19小時) (30 天內合併 4 個 PR)

描述

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

貢獻者指南