I am using a LineChart from MPAndroidChart and I want to implement a custom legend. When I add a label and a corresponding LegendForm with a spezific color, the chart displays the form in grey anyway.
How can I give the form the color I want?
Here is the code I use:
LegendEntry("testTest", Legend.LegendForm.SQUARE, Float.NaN, Float.NaN , null , R.color.blue)