Android - Line Series - Dashed Line Width

TeeChart for Java (NetBeans, Eclipse, Android Studio, etc)
Post Reply
Cameron
Newbie
Newbie
Posts: 5
Joined: Wed Feb 15, 2012 12:00 am

Android - Line Series - Dashed Line Width

Post by Cameron » Mon Mar 05, 2012 12:12 pm

Code: Select all

DashStyle previousCloseLineStyle = DashStyle.DASH;
previousCloseLineStyle.setDashWidth(3);
this.mPreviousClose = new Line();
mPreviousClose.setColor(Color.lightGray);
mPreviousClose.getLinePen().setStyle(previousCloseLineStyle);
It seems no entered value impacts the dash width. Anyone else seeing this?

Yeray
Site Admin
Site Admin
Posts: 9617
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Android - Line Series - Dashed Line Width

Post by Yeray » Wed Mar 07, 2012 10:35 am

Hi Cameron,

You are right. The DashWidth set seems to be lost when you set the style.
I've corrected it for the next maintenance release.
However, the modification seems to work in Swing and Android, but in SWT. So I've added it to the wish list to be revised for future releases (TJ71016071).
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply