Possible Duplicate:
Android: I am using AChartEngine library for graphs, but not able to integrate achartengine’s graph view with android xml?
I am new to ACHARTENGINE and want to integrate it in my layout.
Below is my XML:
<FrameLayout
android:id="@+id/report_description"
android:layout_width="fill_parent"
android:layout_height="300dip"
android:layout_gravity="top">
<LinearLayout android:id="@+id/chart"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_weight="1" />
</FrameLayout>
and This is my code :
public class GraphScreen extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.graph);
}
}
Can you please help me to render any chart BAR, PIE or LINE
Thanks in advance Madz