+1 888 340 6572
MultiCharts Project Management
Go to the previous open issue
Go to the previous issue (open or closed)
Please log in to bookmark issues
Open Bug report MC-2586

Programmatically-drawn rectangles do not display in the correct UI layer when not based on data1

Go to the next issue (open or closed)
Go to the next open issue

When rectangles (and probably ellipses as well) are drawn by an indicator based on a datastream > data1, the UI layer to which they are assigned visually supersedes manually-drawn 2-dimensional objects (rectangles and ellipses). This makes it hard to annotate charts to share with others since a rectangle or ellipse drawn to highlight an area of interest on the chart disappears behind any programmatically drawn 2-dimensional objects.

This behavior is not observed for 1-dimensional objects, so the lack of consistency would suggest a minor bug vs. a new feature request.

Steps to reproduce this issue
  1. Create a two data stream chart
  2. Add an indicator that programmatically creates a rectangle on the chart. Apply this indicator to Data 1
  3. Manually draw a rectangle or ellipse and place it so that it overlaps the indicator-drawn object. Note that the manually-drawn object visually supersedes the indicator-drawn object

  4. Copy window / Paste window to create an identical chart

  5. Format the indicator to apply it to Data 2
  6. Manually draw a rectangle or ellipse and place it so that it overlaps the indicator-drawn object. Note that the manually-drawn objects are visually hidden behind the indicator-drawn object
Comments (1)
user-offline.png  MultiCharts Support (MultiCharts)
May 15, 2019 - 02:50
Hello, pburich!

Thanks for the detailed description. Unfortunately this cannot be viewed as a bug. The reason for the objects from Data(N+1) overlaping the objects from Data(N) is found in the order of the calculations and the series display within MultiCharts. First, the data series is drawn on the chart, then manual drawings, and only then the studies are calculated and add their drawings. So this is a multilayer construction. The later a study is calculated, the higher its drawings are placed. Unfortunately it’s not possible to rework this, because it’s not possible to predict if a study will or will not generate any drawings on the next calculation and where it will place them.

Issue basics
  • Type of issue
    Bug report
  • Category
    Not determined
  • Targeted for
    Not determined
  • Status
    Not a bug
  • Priority
    Not determined
User pain
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
Affected by this issue (0)
There are no items
People involved
Times and dates
  • Posted at
  • Last updated
Issue details
  • Reproducability
    Not determined
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