title: achartengine pie chart not rendered in scrollview
body: <p>I have problems displaying a <code>pie chart</code> created by <code>achartengine</code>.</p>
  
  <p>My Layout XML:</p>
  
  <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:tools="http://schemas.android.com/tools"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:background="#000000"
      android:paddingBottom="@dimen/activity_vertical_margin"
      android:paddingLeft="@dimen/activity_horizontal_margin"
      android:paddingRight="@dimen/activity_horizontal_margin"
      android:paddingTop="@dimen/activity_vertical_margin"
      tools:context=".StatisticActivity" &gt;
  
      &lt;bc.qz.client.android.custom.view.RoundRectTransparentPanel
          android:id="@+id/statisticTransparentPanel"
          android:layout_width="fill_parent"
          android:layout_height="fill_parent"
          android:layout_margin="20dip"
          android:orientation="vertical"
          android:padding="10dip" &gt;
  
          &lt;ScrollView
              android:id="@+id/statisticPageTransparentPanelScrollView"
              android:layout_width="wrap_content"
              android:layout_height="wrap_content"
              android:fillViewport="true" &gt;
              &lt;LinearLayout
                  android:id="@+id/chart"
                  android:layout_width="fill_parent"
                  android:layout_height="wrap_content"
                  android:orientation="vertical" &gt;
              &lt;/LinearLayout&gt;
          &lt;/ScrollView&gt;
      &lt;/bc.qz.client.android.custom.view.RoundRectTransparentPanel&gt;
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>My Activity:</p>
  
  <pre><code>@Override
  protected void onResume() {
      super.onResume();
      LinearLayout layout=(LinearLayout)findViewById(R.id.chart);
      mRenderer.setApplyBackgroundColor(true);
      mRenderer.setBackgroundColor(Color.WHITE);
      mRenderer.setChartTitleTextSize(20);
      mRenderer.setLabelsTextSize(15);
      mRenderer.setLabelsColor(Color.BLACK);
      mRenderer.setLegendTextSize(15);
      mRenderer.setShowLegend(false);
      mRenderer.setMargins(new int[] { 20, 30, 15, 0 });
      mRenderer.setZoomButtonsVisible(false);
      mRenderer.setStartAngle(90);
      mRenderer.setInScroll(true);
      fillPieChart();
      if (mChartView == null) {
          mChartView = ChartFactory.getPieChartView(this, mSeries, mRenderer);
          mRenderer.setClickEnabled(true);
          mRenderer.setSelectableBuffer(10);
          layout.addView(mChartView);
      } else {
          mChartView.repaint();
      }
  }
  
  public void fillPieChart() {
          for (int i = 0; i &lt; pieChartValues.length; i++) {
              mSeries.add(" Share Holder " + (mSeries.getItemCount() + 1),
                      pieChartValues[i]);
              SimpleSeriesRenderer renderer = new SimpleSeriesRenderer();
              renderer.setColor(COLORS[(mSeries.getItemCount() - 1)
                      % COLORS.length]);
              mRenderer.addSeriesRenderer(renderer);
              if (mChartView != null)
                  mChartView.repaint();
          }
      }
  </code></pre>
  
  <p>There is no exception, there is no log message but all objects are created correctly. What I get is this:</p>
  
  <p><img src="https://i.stack.imgur.com/iKvDP.png" alt="enter image description here"></p>
  
  <p>the <code>chart</code> is not displayed in my <code>scrollview</code>.</p>
  
  <p>Could anybody give me a hint?</p>
  
  <p>Thx
  Stefan</p>