I'm developing a Xamarin application targeting Android and iOS and I'm having some issues when trying to change chart's legend text color.
My hunch is that is something related to the palette, but I couldn't figure out where the problem might be.
Here is part of my code:
//Create the Chart View
RadCartesianChartView chart =
/* Add some behavior here */
/* Axes and so on */
var customPalette =
PaletteEntry linesPalette = customPalette.GetEntry(ChartPalette.LineFamily, 0);
/* Apply my colors here */
chart.Palette = customPalette;
// As there are many series, I iterate through them in order to show them together
chartSeries.XValueBinding = hvb;
chartSeries.YValueBinding = vvb;
chartSeries.StrokeThickness = 5.0f;
chartSeries.VerticalAxis = verticalAxis;
chartSeries.HorizontalAxis = horizontalAxis;
var legendView =
legendView.LegendProvider = chart;
var layoutParams =
layoutParams.SetMargins(5, 5, 5, 5);
legendView.LayoutParameters = layoutParams;
// And finally I add both views to the layout
As you can see in the attached screenshot, legend text is grayed out. I'm expecting to see the text color black.
Am I missing something?
Many thanks in advance!