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

OPENCSV and aiCharts Options · View
Rob Delaporte
#1 Posted : Sunday, February 03, 2013 11:35:00 AM
Rank: Newbie

Groups: Registered

Joined: 2/3/2013
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 04, 2013 12:38:36 PM
Rank: Developers Team


Groups: Registered, Administrators

Joined: 7/28/2009
Posts: 447
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 04, 2013 1:01:09 PM
Rank: Newbie

Groups: Registered

Joined: 2/3/2013
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-2016 ArtfulBits. All rights reserved.