Announcement

Collapse
No announcement yet.

Cursor Window Values

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

  • Cursor Window Values

    I don't think there is a way to do this, but I wanted to verify.

    Is there a way to set values in the cursor window without doing a return() statement with those values? I know you can set a title, but I also want to set a value.

    I would guess if worse came to worse I could set a title and put a few spaces in and then set the value in the same title field...but that would mean more work for me as I would have to figure out somehow where the mouse is and then set the title accordingly.

    Any ideas?

    Garth
    Garth

  • #2
    Garth
    I believe there is. Jay had found and posted a solution but I can't find it at this time
    Alex

    Comment


    • #3
      Re: Reply to post 'Cursor Window Values'

      I don't think that is possible, Garth.

      btw, I was looking for the opposite, doing a return new Array and not
      showing all the values in the cursor window, for example,

      return new Array(x,x)

      where the plotstyle, 1 is line and plotstyle, 2 is histogram. Creates a
      histogram with an outline.

      So I only want to show x one time in the cursor window.

      Comment


      • #4
        Garth
        Found it. Click here
        Alex

        Comment


        • #5
          Thanks Alex!

          That is an ingenious work around - that Jay guy sure is smart. It is counting on error trapping in the charts portion of eSignal (hey, that's a string...I can't display a string on a chart...lets ignore it) that must not be part of the cursor window (in fact maybe eSignal converts numbers to strings before displaying in the cursor window).

          I like it...would have never thought of it.

          Garth
          Garth

          Comment


          • #6
            David,

            I have never tried it, but does setShowCursorLabel() do what you want?

            Garth
            Garth

            Comment


            • #7
              Hello Garth,

              Unfortunately, setShowCursorLabel() is a show all or none option. It has been suggested to add the array number parameter so we could do setShowCursorLabel(false, 0); and setShowCursorLabel(true, 1). Wouldn't hurt to throw another vote in the hat ([email protected]).
              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


              • #8
                Re: Reply to post 'Cursor Window Values'

                I just voted to have setShowCursorLabel(false, 0) and
                setShowCursorLabel(true, 1). ; added as a feature, thx

                Comment


                • #9
                  Another vote sent to ideas.

                  Yes, it would be nice if it worked as advertised in the Help file.

                  setShowCursorLabel( bShow, nCount )

                  bShow: true or false.
                  nCount: Optional. If your study returns multiple values, specify the return value here.

                  Comment


                  • #10
                    Thanks Jason!

                    I also sent in my vote...even if I don't need it yet, it just makes sense to do it. All the other cursor label stuff works that way.

                    Garth
                    Garth

                    Comment

                    Working...
                    X