/// <summary> /// Customize styling options for the primary X and Y major grid lines /// </summary> public void Grid( bool?enable = null, Color?color = null, double?xSpacing = null, double?ySpacing = null, bool?enableHorizontal = null, bool?enableVertical = null, Ticks.DateTimeUnit?xSpacingDateTimeUnit = null, Ticks.DateTimeUnit?ySpacingDateTimeUnit = null, float?lineWidth = null, LineStyle?lineStyle = null, bool?snapToNearestPixel = null) { XAxis.ConfigureMajorGrid(enable, color, lineWidth, lineStyle); YAxis.ConfigureMajorGrid(enable, color, lineWidth, lineStyle); XAxis.ConfigureTickLabelStyle(snapToNearestPixel: snapToNearestPixel); YAxis.ConfigureTickLabelStyle(snapToNearestPixel: snapToNearestPixel); XAxis.ConfigureMajorGrid(enable: enableVertical); YAxis.ConfigureMajorGrid(enable: enableHorizontal); XAxis.ConfigureTicks(manualSpacing: xSpacing); YAxis.ConfigureTicks(manualSpacing: ySpacing); XAxis.ConfigureTicks(manualSpacingDateTimeUnit: xSpacingDateTimeUnit); YAxis.ConfigureTicks(manualSpacingDateTimeUnit: ySpacingDateTimeUnit); }