I have a BarChart with two sets of data. One is blue and one is green.
Is it possible to have a blue Marker View for the blue dataset and a green Marker View for the other?
No, it is not possible to have a different MarkerView
for each DataSet
.
However, it should be pretty easy to change the background-color of the marker depending on the dataset.
Just check for the dataset-index delivered by the refreshContent(Entry e, int dataSetIndex)
method of the MarkerView
and programmatically change the background-color of the View
accordingly.