MultiCharts Easter Sale has jumped in! Up to 50% off Explore offers
+1 888 340 6572
MultiCharts Project Management
previous_open_issue.png
Go to the previous open issue
previous_issue.png
Go to the previous issue (open or closed)
star_faded.png
Please log in to bookmark issues
feature_request_small.png
Open Feature request MC-234

Support the " " newline character in drawing "Text"

action_vote_minus_faded.png
5
Votes
action_vote_plus_faded.png
next_issue.png
Go to the next issue (open or closed)
next_open_issue.png
Go to the next open issue
Description

Printing multiple line text strings to the chart (such as when annotating from within an indicator) is needlessly difficult.  Important when printing the text over a bar, so that the text overlaps as few bars as possible while still being readable.
An easy fix would be to support the "\n" newline character which automatically breaks the text into another print line and automatically spaces correctly for the font & chart zoom.
This small change makes a huge difference in usability.

Steps to reproduce this issue

Create a text string, include the \n between words inside the string, and print to chart.  The words should appear on separate lines, stacked one above the other.  Example = "one\ntwo"

Comments (2)
#0
user-offline.png  MultiCharts Support (MultiCharts)
Mar 28, 2011 - 18:39

Please read about the keyword NewLine in our help file.
NewLine
Starts a new line and returns carriage. 
Notes 
Use the "+" character to add NewLine to a string expression. 
Example
FileAppend("c:\testfile.txt","We can see a new bar for"+ NumToStr(Date,0)+ NewLine);

#0
user-offline.png  LostTrader (LostTrader)
Mar 29, 2011 - 01:05

the
NewLine command does not work for what your inquiry was to
MultiCharts.  It is ignored in a text string that is written to the
chart in a workspace. 
Andrew, if you think it should, then you have a BUG.  Please fix it.

History
Issue basics
  • Type of issue
    Feature request
  • Category
    Usability
  • Targeted for
    MultiCharts 7.0 (RELEASED)
  • Status
    Released
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (3)
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Resolution
    Not determined
  • Severity
    Normal
Attachments (0)
There is nothing attached to this issue
Commits (0)
There are no code checkins for this issue
Duplicate issues (0)
This issue does not have any duplicates