Hi,
Here is the link to download the updated assemblies:
https://mindfusion.eu/_temp/grid_custom.zipWe have added new member to the GridType enumeration called GridType.Custom. The XGridLines and YGridLines properties are arrays that expect the numeric values of the points that should mark the grid stripes and mark. Here is sample code:
lineChart1.GridFills.Clear();
lineChart1.GridFills.Add(new SolidColorBrush(Color.FromArgb(100, 255, 0, 0)));
lineChart1.GridFills.Add(new SolidColorBrush(Color.FromArgb(100, 0, 255, 0)));
lineChart1.GridFills.Add(new SolidColorBrush(Color.FromArgb(100, 0, 0, 255)));
lineChart1.GridFills.Add(new SolidColorBrush(Color.FromArgb(100, 153, 0, 204)));
lineChart1.GridFills.Add(new SolidColorBrush(Color.FromArgb(100, 102, 153, 0)));
lineChart1.GridStrokes.Clear();
lineChart1.GridStrokes.Add(new SolidColorBrush(Colors.Purple));
lineChart1.GridStrokes.Add(new SolidColorBrush(Colors.Orange));
lineChart1.GridStrokes.Add(new SolidColorBrush(Colors.White));
lineChart1.GridStrokeThickness = 5;
lineChart1.GridType = GridType.Custom;
Let us know if it works OK and is what you need.
Kind Regards,
Iva