Generating Evenly Spaced Labels #305
Unanswered
njsokalski
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a LineChart for which I want to include labels for every certain amount of entries. Including a Label when generating the ChartEntry is not a problem, the problem is determining which ones to include a Label for. First of all, because it is using SkiaSharp when specifying the text size, along with the differing number of characters, it is hard to calculate how frequently to include a Label. My goal is to have labels such as 5,10,15,20,25,etc or 10,20,30,40,50,etc or 20,40,60,80,100,etc. What is the best way to calculate how many labels will fit? I think this would be a good feature to be added as well.
Beta Was this translation helpful? Give feedback.
All reactions