microcharts-dotnet/Microcharts

Overlapping horizontal labels in large data sets

Open

#115 geöffnet am 20. Aug. 2018

Auf GitHub ansehen
 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C# (361 Forks)github user discovery
enhancementhelp wanted

Repository-Metriken

Stars
 (2.076 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 16T 19h) (4 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide