Skip to main content
Source: src/Annotations/InfoLabel.cs · Calculated on: desktop or server A text with the change of the current session, at a fixed position of the chart area.

What it shows

  • Relative coordinates.
  • The foreground group, IndVars.FrontAnnList.
  • Description and StatusMessage.
  • A color chosen at run time from the theme.

A label which does not scroll

The annotation is created once in OnLoad. After that only its text and its color change:

Talking to the user

Use StatusMessage when the indicator cannot work as expected on the current chart. It is better than drawing nothing without a reason.

Try

  • Add the range of the session on a second line.
  • Add a parameter for the color of the background.