title: Problems with achartengine
body: <p>I am trying to build a char using the library from achartengine (http://www.achartengine.org/). So i try to run SalesGrowthChart.java on my own aplication so when someone clicks on a button it will show him the chart .</p>
  
  <p>This is my code :</p>
  
  <pre><code>private IChart[] mCharts = new IChart[]{new generatedchart()};
  </code></pre>
  
  <p>And i try to generate it like this</p>
  
  <pre><code>bt.setOnClickListener(new View.OnClickListener() {
              public void onClick(View view) {
                   Intent myIntent = new Intent(view.getContext(), generatedchart.class);
                   myIntent=mCharts[0].execute(this);
              }
          });
  </code></pre>
  
  <p>But this won't work. How can i make it to work.Hope you understand what i am saying.
  This is the error :</p>
  
  <blockquote>
    <p>The method execute(Context) in the type IChart is not applicable for the arguments (new View.OnClickListener(){})</p>
  </blockquote>