MPAndroidChart is there a way to set different colors for different bars?
问题 I am using MPAndroidChart in my app and i was wondering if there is a way to set a diferent color for the first bar in a dynamically moving bar chart, like this: The bars are added dynamically while the whole stack is being moved to the left as the data keeps coming, is there a way to set the color of the first bar to be a different color? thank you in advance. EDIT and Solution: here is my code for adding a new entry to the chart, it occurs dynamically every 500 millis or so. private void