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
Rob Delaporte  
#1 Posted : Sunday, February 3, 2013 1:35:00 PM(UTC)
Rob Delaporte
Rank: Newbie

Groups: Registered
Joined: 2/3/2013(UTC)
Posts: 2
Location: Sydney, Australia

Just wondering whether aiCharts ican supports OpenCSV? My application saves data as userinfo.csv into the Assets folder so that users can email it when they choose. I wouldn't mind adding a nice line chart to the application.
Cheers,
Rob
Baydalka Volodymyr  
#2 Posted : Monday, February 4, 2013 2:38:36 PM(UTC)
Baydalka Volodymyr
Rank: Member

Groups: Registered
Joined: 7/28/2009(UTC)
Posts: 447
Man

Hi,

aiCharts doesn't have integration with OpenCS–ú, but it easy to add it. Example:

Code:

...
CSVReader reader = new CSVReader(new FileReader("yourfile.csv"));
String [] nextLine;
int position = 0;
while ((nextLine = reader.readNext()) != null) 
{
  double yValue = Double.valueOf(nextLine[ yColumnIndex ] );
  chartSeries.getPoints().addXY(position ++, yValue);
}


Best regards,
Volodymyr Baydalka
Andriod development and support team
Rob Delaporte  
#3 Posted : Monday, February 4, 2013 3:01:09 PM(UTC)
Rob Delaporte
Rank: Newbie

Groups: Registered
Joined: 2/3/2013(UTC)
Posts: 2
Location: Sydney, Australia

Thanks Voldymyr I will add it to my application and test it out.
Cheers,
Rob
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-2017 ArtfulBits. All rights reserved.