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 Search | Active Topics | Log In | Register

Label inside the bar for Column chart Options · View
spradeesh
#1 Posted : Thursday, October 14, 2010 1:15:35 PM
Rank: Member

Groups: Registered

Joined: 9/24/2010
Posts: 11
Location: Chennai
Hi

I tried to post this clarification in bug traking system, but i cant able to create. Plz send me the steps as well to create it in bug tracking system. I have my subscription.

When i am trying to create a column chart, the labels for the vertical bar is displaying outside ( above ) the bar. Can i make it to display inside the bar, as well can i increase the bar size.

And one more thing, i want to create a column chart for below constraints

double[] data= { 200, 300, 400 }
string[] month= { "January", "February", "March" }

month should be as X Axis, and data should be Y Axis. Can u plz send the code snippet as well for the same.

Thanks in advance.

Baydalka Volodymyr
#2 Posted : Thursday, October 14, 2010 1:51:49 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi,

Please, check the following code

Code:
ChartField chartField = new ChartField();
ChartSeries series = new ChartSeries(ChartTypes.Column);
ChartArea chartArea = new ChartArea();

double[] data= { 200, 300, 400 };
String[] month= { "January", "February", "March" };        

for (int i = 0; i < data.length; i++)
{
     ChartPoint point = series.getPoints().addXY(i, data[i]);
     point.setAxisLabel(month[i]);
}

series.setShowLabel(Boolean.TRUE);
series.setVLabelAlignment(Alignment.FAR_BOXED);

// use labels from series
chartArea.getDefaultXAxis().setLabelsMode(ChartAxis.MODE_SERIES_LABELS);

chartField.getSeries().add(series);
chartField.getAreas().add(chartArea);


Best regards,
Volodymyr Baydalka
Andriod development and support team
spradeesh
#3 Posted : Thursday, October 14, 2010 2:30:30 PM
Rank: Member

Groups: Registered

Joined: 9/24/2010
Posts: 11
Location: Chennai
Hi Volodymyr

Thanks alot, it works perfectly. Plz clarify the below things as well

I tried to post this clarification in bug traking system, but i cant able to create. Plz send me the steps as well to create it in bug tracking system. I have my subscription.

XLabel as displaying inside the bar now. But if the labels are like 1098, 1067. It is not displaying properly. some textts are cropping .Is there any way to display the text vertically.
spradeesh
#4 Posted : Monday, October 18, 2010 1:56:14 PM
Rank: Member

Groups: Registered

Joined: 9/24/2010
Posts: 11
Location: Chennai
Can you plz response.
Baydalka Volodymyr
#5 Posted : Monday, October 18, 2010 3:39:20 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
Hi

Short BTS introduction you can watch from our server: https://www.artfulbits.com/Produ...mos/trackstudio_demo.htm (less than 7 minutes movie) Details about Bug tracking system you can find by link: http://www.trackstudio.com/

Unfortunately, aiCharts doesn't support vertical labels. Consider requesting this functionality if you have active subscription.

Best regards,
Volodymyr Baydalka
Andriod development and support team
spradeesh
#6 Posted : Tuesday, October 19, 2010 12:38:12 PM
Rank: Member

Groups: Registered

Joined: 9/24/2010
Posts: 11
Location: Chennai
Am not able to access bts.artfulbits.com.. It gives "Service unavailable" error. Plz check and update.
alexk
#7 Posted : Tuesday, October 19, 2010 1:09:26 PM
Rank: Administration


Groups: Registered

Joined: 7/28/2009
Posts: 55
Location: Ukraine, Lviv
Please try this URL: http://bts.artfulbits.com:8888/TrackStudio
ArtfulBits Team
Product Director
Users browsing this topic
Guest
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-2016 ArtfulBits. All rights reserved.