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
programmer425  
#1 Posted : Sunday, March 18, 2012 7:52:51 AM(UTC)
programmer425
Rank: Newbie

Groups: Registered
Joined: 3/18/2012(UTC)
Posts: 2

Hello,
I've been working on an older Android application that uses your aiCharts library and I seem to have run into a little problem. The program used an old version of the aiCharts library, which appears to have issues on most devices running Android 3.0 and higher.
The obvious solution is for us to simply get a more updated version of the library. This seems to solve the crashing, but it relays an error that says a previously working function no longer exists.

Here is the function that worked with the older library:

Code:

ChartAxis.LabelFormat customFormat = new ChartAxis.LabelFormat(yaxis) {
	 @Override 
	 protected String doubleFormat(double value) {
	 	 long seconds = (long) (value / 1000);
	 	 return DateUtils.formatElapsedTime(seconds); 
	 }
};
yaxis.setFormat(customFormat);


"ChartAxis.LabelFormat" appears to have vanished from the updated library. For some reason I can't seem to locate any documentation on exactly what that function used to do and so it has become very difficult to simulate it so that the program isn't any different. I was hoping that someone here might be able to help out?
Baydalka Volodymyr  
#2 Posted : Monday, March 19, 2012 2:56:21 PM(UTC)
Baydalka Volodymyr
Rank: Member

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

Hi,

In version 1.5 we use system Format class to specify labels formating. Example:

Code:
chartArea.getDefaultXAxis().setLabelFormat(new Format()
{
	@Override
	public StringBuffer format(Object object, StringBuffer buffer, FieldPosition field)
	{
		long seconds = ((Double)object).longValue() / 1000;
    buffer.append(DateUtils.formatElapsedTime(seconds)); 
    return buffer;
	}

	@Override
	public Object parseObject(String string, ParsePosition position)
	{
		return null;
	}			
});


or use default formaters SimpleDateFormat

Best regards,
Volodymyr Baydalka
Andriod development and support team
programmer425  
#3 Posted : Monday, March 19, 2012 8:37:38 PM(UTC)
programmer425
Rank: Newbie

Groups: Registered
Joined: 3/18/2012(UTC)
Posts: 2

Thank you very much! That is exactly what I was looking for!
zhaoxinying29  
#4 Posted : Friday, April 12, 2019 11:59:09 AM(UTC)
zhaoxinying29
Rank: Member

Groups: Registered
Joined: 10/31/2018(UTC)
Posts: 19
Location: usa

red bottom shoes
birkenstock outlet
jordan
balenciaga shoes
yeezy
kate spade bags
curry 5
air max
pandora charm
chaussure adidas
adidas uk
moncler jacket
adidas outlet
fitflop shoes
balenciaga sneakers
adidas yeezy
adidas trainers
skechers shoes
salomon shoes
lebron james shoes
nike
kate spade
adidas shoes
jordan
pandora uk
skechers shoes
golden goose sneakers
louboutin
adidas eqt support adv
pandora charms
ugg outlet
skechers shoes
nmd
jordan retro
louboutin shoes
adidas originals nmd
goyard tote
pandora charms
pandora charms
salomon speedcross 4
adidas chaussure
new jordans
nike fr
adidas yeezy
nike air vapormax flyknit
birkenstock sandals
fila shoes womens
ugg
basketball shoes
nike off white
pandora charms
lebron
adidas yeezy 500
off white shoes
mizuno
adidas yeezy
louboutin
pandora bracelet
yeezy shoes
giuseppe zanotti sneakers
jordan
moncler
yeezy shoes
christian louboutin
balenciaga bag
goyard bag
louboutin femme
vans shoes
fila
jordan
louboutin shoes
golden goose
uggs for women
pandora bracelet
air max 270
salomon
mizuno
ultra boost uncaged
red bottom shoes
air max 97
nike air max 90
adidas yeezy
pandora bracelet
yeezy 750
jordan retro 11
nike store
yeezy boost 350 v2
ugg slippers
bracelet pandora
fjallraven
uggs on sale
kate spade
adidas shoes
nike off white
pandora rings
Chaussure Adidas
longchamp handbags
balenciaga
jordan
moncler uk
pandora charms
giuseppe zanotti sneakers
longchamp bag
fjallraven kanken backpack
adidas yeezy
yeezy boost 950
golden goose sneakers
yeezy
moncler
adidas shoes women
pandora bracelet
pandora jewelry
yeezy boost 350 v2
moncler femme
pandora charms
adidas
skechers sandals
jordan
air max 270
kate spade bags
pandora
goyard wallet
pandora rings
adidas eqt support
isabel marant sneakers
louboutin shoes
nike uk
uggs on sale
yeezy
louboutin
new jordans
jordan shoes
christian louboutin
salomon
golden goose sneakers
yeezy
adidas originals nmd
zhaoxinying29  
#5 Posted : Friday, April 19, 2019 4:59:40 AM(UTC)
zhaoxinying29
Rank: Member

Groups: Registered
Joined: 10/31/2018(UTC)
Posts: 19
Location: usa

jimmy choo shoes
air max 97
nike air max 95
nike kyrie
Hermes Handbags
kevin durant shoes
supreme shoes
mbt womens shoes
asics running shoes
bvlgari wallet
air max 270
cartier glasses
air max
nike vapormax
barbour outlet
jordan space jams
jordan 11
air max 97
balenciaga bags
salvatore ferragamo
nike vapormax
nike air vapormax
mont blanc
fitflop sandals
moncler coat
longchamp
huarache shoes
moncler jacket
adidas ultra uncaged
pandora charms
stephen curry
moncler jacket womens
moncler jacket mens
louboutin
red bottoms
burberry backpack
louboutin
pandora earrings
moncler jacket womens
mcm backpack
air max 2018
burberry bags
mcm backpack
celine purse
pandora jewelry
true religion jeans for women
ray ban eyeglasses
pandora jewelry
ralph lauren polo shirts
nmd
nike air max 97
ecco outlet
asics running shoes
kyrie irving shoes
ralph lauren outlet
nike air max
chrome hearts bracelet
lebron shoes
air max 90
lacoste polo shirts
birkenstock shoes
pandora necklace
ray ban sunglasses
pandora jewelry
chrome hearts clothing
curry 4 shoes
nike air vapormax
coach outlet
lebron shoes
hermes belt women
air max 97
goyard tote
polo ralph lauren
ralph lauren
Pandora
longchamp bag
yeezy shoes
true religion jeans for women
pandora rings
adidas nmd r1
mulberry bag
nike air max 270 women
pandora
air max 95 mens
red bottoms
huarache shoes
ed hardy
fitflop sale
moncler sale
nike air max 95
goyard wallet
pandora Charms
birkenstock shoes
supreme clothing
vapormax
rihanna puma shoes
fitflop
jordan 11
womens north face jacket
yeezy shoes
nike air max 95
coach
Adidas Yeezy
nike kd
oakley
michael kors handbags
yeezy boost 350
air max 95 mens
jordan retro 11
burberry shirt
north face
ultra boost mens
yeezy boost 350 v2
michael kors outlet
jordan 11
skechers boots
kate spade bags
jordan retro 11
salomon xa pro 3d
adidas nmd r1
adidas superstar shoes
salomon speedcross 4
fitflop
valentino sneakers
Salomon Speedcross 3
kd shoes
harden vol 1
salvatore ferragamo shoes
prada handbags
kate spade outlet
under armour shirts
salomon shoes
chrome hearts t shirt
ultra boost uncaged
balenciaga shoes men
prada handbags
kate spade bags
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-2019 ArtfulBits. All rights reserved.