Skip to main content
A newer version of this page is available. .

XlSparklineGroup.ManualMin Property

Gets or sets the minimum for the vertical axis that is the same for all sparklines in the sparkline group.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v20.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.WindowsDesktop.Printing.Core

Declaration

public double ManualMin { get; set; }

Property Value

Type Description
Double

A Double value that specifies the maximum value for the vertical axis.

Remarks

The ManualMin property is in effect if the XlSparklineGroup.MinScaling property is set to the XlSparklineAxisScaling.Custom value.

Example

// Create a sparkline group.
XlSparklineGroup group = new XlSparklineGroup(XlCellRange.FromLTRB(1, 1, 4, 6), XlCellRange.FromLTRB(5, 1, 5, 6));
// Set the sparkline color.
group.ColorSeries = XlColor.FromTheme(XlThemeColor.Accent1, 0.0);
// Change the sparkline group type to "Column".
group.SparklineType = XlSparklineType.Column;
// Set the custom minimum value for the vertical axis.
group.MinScaling = XlSparklineAxisScaling.Custom;
group.ManualMin = 1000.0;
// Set the automatic maximum value for all sparklines in the group. 
group.MaxScaling = XlSparklineAxisScaling.Group;
sheet.SparklineGroups.Add(group);
See Also