Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/2482-standardlibrary-canvasgraphics-cchartcanvas-cchartcanvaslegendalignment.md
T
2026-06-23 21:47:51 +08:00

419 B

LegendAlignment

Sets the text alignment for the legend.

 void  LegendAlignment(
   const ENUM_ALIGNMENT  value,  // flag
   )

Parameters

value

[in] Takes one of the values of the ENUM_ALIGNMENT enumeration:

  • ALIGNMENT_LEFT — alignment to the left.
  • ALIGNMENT_TOP — alignment to the top.
  • ALIGNMENT_RIGHT — alignment to the right.
  • ALIGNMENT_BOTTOM — alignment to the bottom.