AndroidCharts
AndroidCharts copied to clipboard
How to set bar colour in a BarView
How can I set the barView colour? Can't seem to find it in XML or in code. Any help?
In BarView.java, there are three variables responsible for the color: TEXT_COLOR, BACKGROUND_COLOR, FOREGROUND_COLOR. You can just change their values manually inside BarView.java, but I thinks it's better if you make setters and getters for these variables and send in the values from your code.