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

331 B

DrawLegendHorizontal

Draws a horizontal legend.

 int  DrawLegendHorizontal(
   const int  w,  // 
   const int  h,  // 
   )

Parameters

w

[in] The maximum width of the text in the legend.

h

[in] The maximum height of the text in the legend.

Return Value

Height of the legend in pixels.