# Should graphs have x and y axis titles?

**URL:** <https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399>\
**Category:** Suggestions\
**Created:** [December 19, 2024, 8:17pm UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399 "2024-12-19T20:17:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [December 19, 2024, 8:17pm UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399/1 "2024-12-19T20:17:00Z")

</div>

As promised [here](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/26), I’ll open this up for discussion.

**Issue**  
Graphes in Anki no longer have x and y axis titles, but had them in earlier versions (see [this](https://github.com/ankitects/anki-manual/issues/321)).

There had been discussion about [making the text smaller](https://forums.ankiweb.net/t/short-strings-in-graph-axis/1306) but I couldn’t find the rational why the titles had eventually been removed.

**Why have axis titles?**

1. In maths and sciences you’re required to add axis titles so that it’s obvious what the graph is showing. It allows one to see all the important information at a glance without having to hover over every graph.
2. Without axis titles and hovering over the graph, the only way of knowing what the graph shows is by deducing the meaning of the graph – something that probably quite a few people might struggle with, especially if they have no background in science / graph related things.
3. If you open the stats and print them to pdf, the information on hover cannot be accessed anymore. Now there is no reliable way of knowing what those axis mean. This is especially an issue if you share the pdf.

**Why _not_ have axis titles?**

1. Danika\_Dakika [said](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/25) that it might make sense “from a data-presentation perspective” to not have axis titles.
2. [rossgb](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/27) and [sorata](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/28) speculated, that space constraits might be the reason (e.g. on mobile).

**Describe the solution you’d like**  
I’d prefer if graphs would have axis titles.

**Ideas to solve the space issue mentioned above**  
The following [had been suggested](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/27) by rossgb:

> [@\[Feature request\] Estimated Total Knowledge over time](https://forums.ankiweb.net/t/feature-request-estimated-total-knowledge-over-time/53036/27):
>
> If that is the issue you could make them reactive so the labels only show when you have plenty of screen space.

---

<div class="post-metadata">

**Author:** ![rossgb](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/rossgb/32/23908_2.png) [@rossgb](https://forums.ankiweb.net/u/rossgb)\
**Post date:** [December 19, 2024, 8:28pm UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399/2 "2024-12-19T20:28:17Z")

</div>

I misspoke (mistyped?). I meant _responsive_.

A problem I can see with making them responsive is the way the stats screen handles resizing.  
As you make the window wider it splits the grid into more columns.  
This means you could get a weird effect where as you make the window bigger the axis labels appear, then disappear, then appear, … as columns are added.

It might be better to just give the user a “show axis labels” setting and let them choose which they prefer.

---

<div class="post-metadata">

**Author:** ![sorata](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/sorata/32/34115_2.png) [@sorata](https://forums.ankiweb.net/u/sorata)\
**Post date:** [December 19, 2024, 8:37pm UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399/3 "2024-12-19T20:37:39Z")

</div>

I would in fact like the exisiting y-axis title in simulator to go away because of text-overlapping issues.

Making them responsive is a good choice though, make them fade in when you resize the window?

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [December 24, 2024, 5:22am UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399/4 "2024-12-24T05:22:50Z")

</div>

Axis labels reduce available space, which is already at a premium on mobile devices, and at certain window sizes where the graphs are shown 3-to-a-row. And unlike graphs on paper, you can hover or tap on part of the graph to see a pop-up that makes the meaning of the 2 or 3 axes apparent.

The main argument for their inclusion seems to be for users who are viewing a pdf without knowing what the graphs mean. How common is that in practice? I was under the impression the pdf generation feature is primarily used by people retaining their own historical records, and for students whose teacher requests copies be sent to them, and one would hope the recipient in both cases can understand the graphs without the labels.

---

<div class="post-metadata">

**Author:** ![Anon\_0000](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@Anon\_0000](https://forums.ankiweb.net/u/Anon_0000)\
**Post date:** [December 26, 2024, 11:46pm UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399/5 "2024-12-26T23:46:56Z")

</div>

It doesn’t seem to be something that a lot of people want anyways, based on the activity in this topic.

@dae would you be okay with a “show axis labels” setting (like @rossgb proposed) or a fade in (like @sorata proposed)?

  

> [@rossgb](#):
>
> As you make the window wider it splits the grid into more columns.  
> This means you could get a weird effect where as you make the window bigger the axis labels appear, then disappear, then appear, … as columns are added.

This does sound like quite a hindrance though. I’m not _strongly_ for axis titles, I’d just prefer them. If it’s too much work or if too much would need to be changed, I’m okay with how it’s handled currently.

---

<div class="post-metadata">

**Author:** ![dae](https://sea2.discourse-cdn.com/flex002/user_avatar/forums.ankiweb.net/dae/32/65_2.png) [@dae](https://forums.ankiweb.net/u/dae)\
**Post date:** [January 7, 2025, 4:15am UTC](https://forums.ankiweb.net/t/should-graphs-have-x-and-y-axis-titles/53399/6 "2025-01-07T04:15:21Z")

</div>

I’m afraid I don’t currently feel we could justify the overhead of yet another option for this.
