Login Page - Create Account

Support Board


Date/Time: Tue, 23 Jun 2026 02:53:08 +0000



Post From: suggestion - Vertical Drawstyle

[2026-05-22 13:39:50]
Zorin - Posts: 22
If I understood correctly - that will be applicable to subparagraphs ONLY:

It is supported with these styles:
DRAWSTYLE_TRANSPARENT_TEXT_WITH_ALIGNMENT
DRAWSTYLE_TEXT_WITH_OFFSET_ALIGNMENT

All these parameters are for sub-graphs;
Can the same be added for the drawing tool, please ?

P.S. code

        {
        s_UseTool Tool;
        Tool.Clear(); // reset tool structure for our next use
        
        Tool.Text      = sLongW_type;
        Tool.BeginIndex = i;
        Tool.BeginValue    = sc.High ;
        { // Common attributes
        Tool.FontSize = 7;
        Tool.LineNumber = UniqueID2+i ; // +i = HE HADO ??
        Tool.ChartNumber  = sc.ChartNumber;
        Tool.Region = 0;
        Tool.DrawingType  = DRAWING_TEXT;
              
        Tool.Region      = sc.GraphRegion;
        Tool.FontFace = sc.ChartTextFont();
        Tool.FontBold = false;

        Tool.ReverseTextColor = 0;
        Tool.Color      = RGB(255,255,255);
      
         Tool.TextAlignment  = DT_CENTER | DT_TOP;
        // would be great to have an ability to apply
        // VERTICAL_TEXT_ORIENTATION_FOR_DRAW_STYLE somewhere here


                
        Tool.AddMethod = UTAM_ADD_ALWAYS;
        }
        sc.UseTool(Tool);