im using line chart (MPCharts) gradient fill working perfectly with API Level 19 but not in API Level 16 (and bellow i guess). is it a bug or do i have to try in different manner?
Thanks.
I used These codes.
LineDataSet set1 = new LineDataSet(yVals, "Close");
Drawable drawable = ContextCompat.getDrawable(getApplication(),R.drawable.gradiant);
drawable.setAlpha(200);
set1.setFillDrawable(drawable);
set1.setDrawFilled(true);
Screen Shots,