obsidian-tracker
obsidian-tracker copied to clipboard
Allow axis labels to be null
For many charts I find that the axis label is redundant, since it is obvious from the data or the title what the chart is measuring.
I could not find a way to hide the axis label such that the chart properly resizes with the viewbox. For example, if I set the axis labels to transparent, there is a gap.
Proposed solution, could be one of the following:
- Allow
xAxisLabel: null
andyAxisLabel: null
- Add
showXAxis: false
andshowYAxis: false
I just found a hacky way around this. A little strange because it does require a space between the quotes
xAxisLabel: ' '
yAxisLabel: ' '
The second way you proposed looks good. Will do.