title: Options is not defined : Highchart error, Javascript
body: <p>I am trying to implement Higcharts in my project,</p>
  
  <p>What I have is a function in which I am defining var <code>options</code> of Highcharts so that I can use that <code>option</code> variable in the Highchart. </p>
  
  <p>but when I am using that Variable in the Highcharts its displaying the Following error : </p>
  
  <blockquote>
    <p>Uncaught ReferenceError: options is not defined</p>
  </blockquote>
  
  <p>Here's How I tried my code : </p>
  
  <pre><code>function data(response){
  
   var options = {
      // Some Code that goes in option
  
    }
      }
  </code></pre>
  
  <p>and here's how I anm Calling it ;</p>
  
  <pre><code>data(response);
  Highcharts.Chart.update(options);
  </code></pre>
  
  <p>I already mentioned what my error is. Please correct me where I am wrong.
  Any help is really Appreciated</p>