whitespace COMPANY whitespace SERVICES whitespace PRODUCTS whitespace PURCHASE whitespace SUPPORT whitespace CONTACTS whitespace Home whitespace Contact Us whitespace Site Map whitespace
whitespace
SUPPORT
whitespace
FORUM
whitespace
FAQS
whitespace
SUBSCRIPTION
whitespace
REQUEST ON-LINE
whitespace
whitespace

Technical Support Forum

Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
View
Go to last post Go to first unread
duyanhth  
#1 Posted : Friday, July 23, 2010 8:32:44 AM(UTC)
duyanhth
Rank: Member

Groups: Registered
Joined: 6/10/2010(UTC)
Posts: 14
Location: VietNam

Hello,
I'd like to increase my chart view region to get as bigger as possible. However the layout margin attribute doesn't help.
Is there any function in the chart can do this.
Thanks and best regards,
Duy Anh
UserPostedImage
[Java Source Code]
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="fill_parent"
android:layout_height="fill_parent">

<LinearLayout android:id="@+id/exchangeTitleContainer"
android:orientation="horizontal" android:layout_width="fill_parent"
android:layout_height="26dip"
android:background="@drawable/container_states">
<View android:layout_width="3dip" android:layout_height="fill_parent" />
<TextView android:id="@+id/imgCountryFlag"
android:layout_height="20dip" android:layout_width="20dip"
android:layout_gravity="center_vertical" />
<TextView android:id="@+id/lblExchangeName"
android:layout_height="wrap_content" android:layout_width="wrap_content"
android:layout_marginLeft="5dip" android:textSize="14dip"
android:layout_gravity="center_vertical" />
</LinearLayout>

<LinearLayout android:id="@+id/extendedQuoteContainer" android:layout_margin="0dip"
android:layout_width="wrap_content" android:orientation="horizontal"
android:layout_height="fill_parent" android:background="@drawable/container_states">


<com.artfulbits.aiCharts.ChartView android:layout_margin="0dip"
android:id="@+id/chartArea" style="@style/ExtendedQuote.ChartArea" />
[/Java Source Code]
[Java Source Code]
<ai:chart xmlns:ai="http://www.artfulbits.com/android/aiCharts">
<ai:area>
<area.xaxis grid_visible="false" labels_visible="false" title="Life"/>
<area.yaxis grid_visible="false" labels_visible="false" title="Quality"/>
</ai:area>
<ai:series type="Line" points="0, 60, 40, 100"/>
<ai:title text="Life gets better!!!" dock="Top"/>
</ai:chart>
[/Java Source Code]

Edited by user Friday, July 23, 2010 8:52:51 AM(UTC)  | Reason: Not specified

duyanhth  
#2 Posted : Friday, July 23, 2010 9:25:01 AM(UTC)
duyanhth
Rank: Member

Groups: Registered
Joined: 6/10/2010(UTC)
Posts: 14
Location: VietNam

Implemented with:
chartView.getChart().setSpacing(0);

Cheers,
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Company | Services | Practices | Technologies | Career | Contacts | Privacy
© 2005-2017 ArtfulBits. All rights reserved.