Announcement

Collapse
No announcement yet.

setBarBgColor overwrites lines

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

  • setBarBgColor overwrites lines

    I read the previous thread about this problem and the solution to set Draw Lines on Top....this does not work.

    I also read the previous thread re "we know it is still a problem in version 7.8"....i.e. no solution....yet?

    I note that the bg does not cover the MA and Linear Regression study lines if I load my efs routine to the chart last. If I load my efs and then load an MA later, the MA is overwritten by bg.

    Small point but I would like my efs title to show higher in left corner (so it covers less chart) which is why I removed and reloaded MA and LR in the first place. I switched it back now and bg is in background, so I can live with it.

    Any ideas? I am running version 7.91 build 738.

    Thanks in advance.

  • #2
    ratherBgolfing
    The Draw Lines on Top option is only for lines drawn using the Line Tools. Anyhow the z-order is determined by the load sequence of the EFSs with the first one loaded being the topmost.
    If what you are trying to accomplish is to prevent the study title from taking up space in your chart then you currently have two solutions
    - you can reduce the study title to just the name of the efs by adding a setShowTitleParameters(false) statement in preMain. This will prevent the parameters from showing in the title
    - you can completely remove the study titles from a chart by right clicking the chart, selecting Properties and unchecking Draw Study Titles (note that this ia an all-or-none setting)
    Alex

    Comment


    • #3
      thanks....third option?

      Thanks Alex. Those options are workable.

      I suppose a third option might be to Remove the two MA studies entirely (dont really need anyway) and draw the Linear Regression study lines (which I do need) from within my .efs. Workable? Do you know where I can get the code to draw the Regression lines?

      Comment


      • #4
        Hello ratherBgolfing,

        The LinearRegressionCalc.efs study from our EFS Library will show you how to calculate and draw regression lines.
        Jason K.
        Project Manager
        eSignal - an Interactive Data company

        EFS KnowledgeBase
        JavaScript for EFS Video Series
        EFS Beginner Tutorial Series
        EFS Glossary
        Custom EFS Development Policy

        New User Orientation

        Comment

        Working...
        X