The online Quick Start Guide includes the code :
PenStyle penStyle = new PenStyle(ColorUtil.Green, true, 2f);
This needs to be updated as PenStyle is now abstract.
Presumably it should now be:
PenStyle penStyle = new SolidPenStyle(ColorUtil.Green, true, 2f, null);
Yes, you’re right. Since release of SciChart Android v2.0 PenStyle class became abstract because we’ve added support of new pen styles which support gradients and textures. I’m going to fix the typo in that article and thank you for your finding it.
Please login first to submit.