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

贡献者指南