increase font size

This commit is contained in:
Milos Kozak 2018-03-24 17:33:23 +01:00
parent b2db393436
commit bcf71d70dc

View file

@ -48,11 +48,11 @@ import java.util.Iterator;
*/ */
public class PointsWithLabelGraphSeries<E extends DataPointWithLabelInterface> extends BaseSeries<E> { public class PointsWithLabelGraphSeries<E extends DataPointWithLabelInterface> extends BaseSeries<E> {
// Default spSize // Default spSize
int spSize = 12; int spSize = 14;
// Convert the sp to pixels // Convert the sp to pixels
Context context = MainApp.instance().getApplicationContext(); Context context = MainApp.instance().getApplicationContext();
float scaledTextSize = spSize * context.getResources().getDisplayMetrics().scaledDensity; float scaledTextSize = spSize * context.getResources().getDisplayMetrics().scaledDensity;
float scaledPxSize = context.getResources().getDisplayMetrics().scaledDensity * 2.8f; float scaledPxSize = context.getResources().getDisplayMetrics().scaledDensity * 3f;
/** /**
* choose a predefined shape to render for * choose a predefined shape to render for