Hi Marco,
Thanks for using Syncfusion products.
Query1:I need a LineSeries with different colors for the markers
We are able to achieve your requirement by using
ValueToPoint method in the chart and
AbsoluteLayout in the Xamarin forms. We have prepared a workaround sample based on your requirement..
Query2:Is it possible to have an horizontal line which represents the average of the temperatures?
We are able to achieve your above requirement by using
StripLines. Please find the following code example which shows how to define the striplines in axis.
Code Example:
NumericalAxis numaxis = new NumericalAxis ();
chart.SecondaryAxis = numaxis;
NumericalStripLine strip1 = new NumericalStripLine ();
strip1.Start = 22;
strip1.Width = -7;
strip1.FillColor = Color.Green;
strip1.IsPixelWidth = true;
strip1.Text = "Low Temperature";
numaxis.StripLines.Add (strip1);
Sample:
DataMarkerNote: We have used BoxView instead of datamarker symbols. Write Custom renderer for the different datamarker symbols.
Regards,
Manivannan.E