You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.
I'm trying to get my labels to look like this (which I did with ios-charts):
I only show 1 in every 5 labels.
If I use modulo for that, this is what I get, though:
if index %5==0{returndataPoints[index]}else{return""}
I assume the problem is that, even though some labels contain just an empty string, they still overlap with the labels that should be showing, and according to the wiki “the overlapping labels on the X-Axis will automatically be removed if they overlap”.
If I try numberOfGapsBetweenLabelsOnLineGraph, on the other hand, this is what I get:
Which is almost right, except I want to always show the first label.
If I understood it correctly and the problem with using modulo is that some labels are being hidden because they overlap, I think there should be an exception when labels only show an empty string.
The text was updated successfully, but these errors were encountered:
I'm trying to get my labels to look like this (which I did with ios-charts):
I only show 1 in every 5 labels.
If I use modulo for that, this is what I get, though:
I assume the problem is that, even though some labels contain just an empty string, they still overlap with the labels that should be showing, and according to the wiki “the overlapping labels on the X-Axis will automatically be removed if they overlap”.
If I try
numberOfGapsBetweenLabelsOnLineGraph
, on the other hand, this is what I get:Which is almost right, except I want to always show the first label.
If I understood it correctly and the problem with using modulo is that some labels are being hidden because they overlap, I think there should be an exception when labels only show an empty string.
The text was updated successfully, but these errors were encountered: