MPAndroidChart icon indicating copy to clipboard operation
MPAndroidChart copied to clipboard

setNoDataTextDescription does not work

Open rgins16 opened this issue 10 years ago • 1 comments

The following is my code for a Line Graph. The "setNoDataTextDescription" does not appear on the graph.

    `// Heart Rate Line Graph
    heartRateChart = (LineChart) findViewById(R.id.heartRateChart);
    heartRateChart.setDescription("Heart Rate");
    heartRateChart.setDescriptionPosition(625, 25);
    heartRateChart.setDescriptionTextSize(20f);
    heartRateChart.setDescriptionTypeface(Typeface.DEFAULT_BOLD);
    heartRateChart.setDescriptionColor(Color.RED);
    heartRateChart.setNoDataTextDescription("Inital Data Collection... ");
    heartRateChart.setTouchEnabled(false);`

rgins16 avatar Jul 23 '16 18:07 rgins16

Closing old issue. If anyone still has this question please open a new one.

almic avatar Oct 28 '18 03:10 almic