Hello, in my Xamarin android app I am using the following code to set gradient color
Com.Syncfusion.Charts.ChartGradientColor gradientColor = new Com.Syncfusion.Charts.ChartGradientColor() { StartPoint = new PointF(0.5f, 1), EndPoint = new PointF(0.5f, 0) };
Com.Syncfusion.Charts.ChartGradientStop stop1 = new Com.Syncfusion.Charts.ChartGradientStop() { Color = Color.ParseColor("#fdc8e9"), Offset = 0 };
Com.Syncfusion.Charts.ChartGradientStop stop2 = new Com.Syncfusion.Charts.ChartGradientStop() { Color = Color.ParseColor("#ac0c52"), Offset = 1 };
gradientColor.GradientStops.Add(stop1);
gradientColor.GradientStops.Add(stop2);
Com.Syncfusion.Charts.ChartGradientColorCollection gradientColors = new Com.Syncfusion.Charts.ChartGradientColorCollection()
{
gradientColor
};
With this code I get gradient color from bottom to top. My question is, how can set gradient color from left to right?
Thank you very much