Announcement

Collapse
No announcement yet.

getChartBG(); issue

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

  • getChartBG(); issue

    Hello

    For some reason I am getting a :

    ReferenceError: getChartBG is not defined when using getChart BG.

    The strange this is on checking the efs with the syntax checker I get and No Syntax Errors but on loading the chart I get the above errormessage.

    On loading the below code I get the error message.

    Any suggestons?

    Thanks in anticipation

    P

    [php] function preMain() {
    setStudyTitle("Test");
    setPriceStudy(true);
    setShowCursorLabel(false);

    }
    function main(){

    var nMyChartBgColor = getChartBG();


    } [/php ]

  • #2
    Re: getChartBG(); issue

    Patch227
    As far as I can see the function is working fine.
    What version of eSignal are you running?
    Alex


    Originally posted by Patch227
    Hello

    For some reason I am getting a :

    ReferenceError: getChartBG is not defined when using getChart BG.

    The strange this is on checking the efs with the syntax checker I get and No Syntax Errors but on loading the chart I get the above errormessage.

    On loading the below code I get the error message.

    Any suggestons?

    Thanks in anticipation

    P

    [php] function preMain() {
    setStudyTitle("Test");
    setPriceStudy(true);
    setShowCursorLabel(false);

    }
    function main(){

    var nMyChartBgColor = getChartBG();


    } [/php ]

    Comment


    • #3
      Patch227
      The enclosed animation was captured using version 10 running a slightly modified version of your script
      Alex

      Comment


      • #4
        I recently rolled back to

        7.91 732

        to sort slow charts out. Do you think it could be this?

        Comment


        • #5
          Patch227
          That function was implemented in version 10 and does not exist in prior versions
          Alex


          Originally posted by Patch227
          I recently rolled back to

          7.91 732

          to sort slow charts out. Do you think it could be this?

          Comment


          • #6
            Thanks alex

            Is there anywhere I can find this info out easily in the future (as opposed to ploughing through release notes) as it is not on the KnowledgeBase article?




            Originally posted by Alexis C. Montenegro
            Patch227
            That function was implemented in version 10 and does not exist in prior versions
            Alex

            Comment


            • #7
              Patch227
              If you look in the Glossary in the EFS KnowledgeBase it will indicate in which version the function was implemented. Functions without a build number are all available prior to build 719
              Alex


              Originally posted by Patch227
              Thanks alex

              Is there anywhere I can find this info out easily in the future (as opposed to ploughing through release notes) as it is not on the KnowledgeBase article?

              Comment


              • #8
                Thanks Alex Most helpful

                Comment


                • #9
                  Patch227
                  My pleasure
                  Alex


                  Originally posted by Patch227
                  Thanks Alex Most helpful

                  Comment

                  Working...
                  X