got the following code:
graph = (LineChart) convertView.findViewById(R.id.graph);
graph.getPaint(Chart.PAINT_LEGEND_LABEL).setColor(Color.BLUE);
Try this to set the colors of axis and legend:
chart.getAxisLeft().setTextColor(...); // left y-axis
chart.getXAxis().setTextColor(...);
chart.getLegend().setTextColor(...);
If you want to set the color of the drawn values inside the chart, check out the setting colors documentation or the setting data documentation.
Incase for a pie chat to change its label colors you can do this
pieChart.getLegend().setTextColor(Color.WHITE);