microcharts-dotnet/Microcharts

Overlapping horizontal labels in large data sets

Open

#115 ouverte le 20 août 2018

Voir sur GitHub
 (5 commentaires) (1 réaction) (0 assignés)C# (361 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (2 076 stars)
Métriques de merge PR
 (Merge moyen 16j 19h) (4 PRs mergées en 30 j)

Description

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

Guide contributeur