increase font size
This commit is contained in:
parent
b2db393436
commit
bcf71d70dc
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue