Page 1 of 1

Android - Line Series - Dashed Line Width

Posted: Mon Mar 05, 2012 12:12 pm
by 17061565

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?

Re: Android - Line Series - Dashed Line Width

Posted: Wed Mar 07, 2012 10:35 am
by yeray
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).