I am attempting to set the background color of a GraphView (http://android-graphview.org). I looked at the following StackOverflow question: https://stackoverflow.com/questions/24276370/changing-graphview-background-not-working but there was no joy. I also took a peek at the GraphView demos at: https://github.com/jjoe64/GraphView-Demos but unfortunately, none of them set the background color to something other than white. So, what I did try was:
graphView.setBackgroundColor(getResources().getColor(R.color.teal));
and I also tried:
graphView.setBackgroundColor(getResources().getColor(R.color.teal));
((LineGraphView) graphView).setDrawBackground(true);
neither wanted to work. Thoughts on what I need to do?