This is my code:
LineChart chart = (LineChart) findViewById(R.id.chart);
chart.setDescription("Time");
Android Studio say:
SetDescription (com.github....) in Chart cannot be applied to (java-lang.String)
If i set NULL it work......
in version 3.0.0,the method changes:
Description description = new Description();
description.setTextColor(ColorTemplate.VORDIPLOM_COLORS[2]);
description.setText("Chart Data");
chartView.setDescription(description);
Why make it complicated when it was much simpler?
Thank You!
Essa dica me ajudou bastante.
(gao746700783)
Most helpful comment
in version 3.0.0,the method changes:
Description description = new Description(); description.setTextColor(ColorTemplate.VORDIPLOM_COLORS[2]); description.setText("Chart Data"); chartView.setDescription(description);