Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

DrawText method

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DrawText method

    Hello,
    if use DrawText method as you can see below the followings will happen:

    1) Text = "bla bla bla"
    Draw on Chart: Ok (1 row)
    Text properties, General TAB: Ok (1 row)

    2) Text = "bla bla bla" + Environment.NewLine + "bla bla bla" + Environment.NewLine + "bla bla bla"
    Draw on Chart: Ok (3 row)
    Text properties, General TAB: Ok (3 row)

    3) Text = Environment.NewLine + "bla bla bla" + Environment.NewLine
    Draw on Chart: Not right (1 row)
    Text properties, General TAB: Ok (3 row)
    Other note to here: if you use higher font (not default), then outline cut from the font.

    4) Text = "" + Environment.NewLine + "bla bla bla" + Environment.NewLine + ""
    Same as 3 point.

    5) Text = " " + Environment.NewLine + "bla bla bla" + Environment.NewLine + " "
    Same as 3 point.

    Other problem:
    If you write in lot of row, it will be shown on the Chart, but no any scrollbar will not be shown on General TAB. Long rows will be wrapped, but you can scroll vertically only if text selection is used. I think it would be better if both scrollbars are enabled.

    Best regards,
    Tamas

    #2
    Tamas, I tried reproducing here, but I'm not sure I follow you - why do you think case 3 should produce something else than 1 row of text? You don't see the new line line it entered on the chart, if you open up the DrawText properties, you see it added as programmed.
    Attached Files

    Comment


      #3
      Hello Bertrand,

      i just wanted to tell, that there is a difference between properties window and the drawing on the chart. For me, it would be logical if the wrap was seen similary on both. When i realized it, i wrote you. I only wanted to indicate.

      Best regards,
      Tamas

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      607 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      353 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      105 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      560 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      561 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X