[Tex/LaTex] Milestone aspect ratio in pgfgantt adjusted for units

pgfgantttikz-pgfunits

So: I have a Gantt chart created with pgfgantt where in order to fit my pages I have included

x unit=1.4cm,y unit chart=6mm

in its preamble. This means that milestone shapes are spread out horizontally. How can I change the vertical and horizontal units of a Gantt chart in a way which doesn't affect the aspect ratios of elements like milestones?

Best Answer

If I understand your question correctly, then you can use xscale to adjust the aspect ratio. For example:

\begin{ganttchart}[
  x unit=1.4cm,
  y unit chart=6mm,
  milestone/.append style={xscale=0.42857} % 0.6/1.4 ≈ 0.42857
]{1}{12}
Related Question