Thanks again, labelsize did fix the words in the barplot legend! But, the legend marker boxes still stick together & are too big. I could not fix it with markersize, labelsize, patchsize, or patchlabelgap. Here is an example of the code (modified from your example) & results:
# Fake data
categories = 1:6
DataArray1 = [4.0, 7.0, 3.0, 8.0, 2.0, 1.0]
DataArray2 = [3.0, 2.0, 5.0, 4.0, 1.0, 2.0]
#
with_theme(theme_aps(), figure_padding = (4, 4, 4, 4)) do
#
fig = Figure()
ax = Axis(fig[1, 1], xlabel = "x", ylabel = "y")
#
# Stacked bars: DataSet1 on bottom, DataSet2 on top
Makie.barplot!(ax, categories, DataArray1, width = 0.5,
label = "DataSet1" => (; markersize = 4, strokecolor = :black, strokewidth = 0.5))
Makie.barplot!(ax, categories, DataArray2, offset = DataArray1, width = 0.5,
label = "DataSet2" => (; markersize = 4, strokecolor = :black, strokewidth = 0.5))
#
### Makie.axislegend(ax, position = :rt, framevisible = true, patchsize = (9, 15), patchlabelgap = 1.0)
Makie.axislegend(ax, position = :rt, framevisible = true, labelsize = 8.25,
padding = (-4.0, 2.5, -2.0, -2.0), patchsize = (9, 20), patchlabelgap = 2.0)
#
fig
#
end
Hopefully there is some parameter which can adjust this, because the “microtuning in a vector editor” sounds like an awful task (with a brand new learning curve). Thanks!