In LineChart, how to have more bottom titles than spots? #1717
Answered
by
gdurandrexel
gdurandrexel
asked this question in
Q&A
|
I want to represent the evolution of a value during a month. I may not have a value for each day but I still want to display a bottom title for each day. For instance, in the image below, I want a line that goes only through the spots with a non-zero value. |
Answered by
gdurandrexel
Jul 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Well, of course, after searching for hours, I find the answer 5 minutes after asking the question...
In LineChartData: minX: 1, maxX: nbDaysInMonth.
And LineChart.titlesData.bottomTitles.sideTitles.interval:1 (just to be sure).