[]
Represents the settings for the horizontal axes of a group of sparklines.
Use this interface to access horizontal axis settings for a sparkline group, such as the axis color, whether the axis uses date-based values, and whether points are plotted in right-to-left order. Instances are typically obtained from Horizontal.
public interface ISparkHorizontalAxis
Public Interface ISparkHorizontalAxis
worksheet.Range["A1:C1"].Value = new object[] {1, 3, 2};
ISparklineGroup sparklineGroup = worksheet.Range["D1"].SparklineGroups.Add(SparkType.Line, "A1:C1");
ISparkHorizontalAxis horizontalAxis = sparklineGroup.Axes.Horizontal;
ISparkColor axisColor = horizontalAxis.Axis;
horizontalAxis.RightToLeftPlotOrder = true;
| Name | Description |
|---|---|
| Axis | Gets the ISparkColor object that specifies the color and visibility of the horizontal axis of the sparkline. Use the returned ISparkColor object to access and modify the horizontal axis color and visibility settings for the sparkline group. |
| IsDateAxis | Gets whether the horizontal axis of the sparkline is based on date values.
Returns |
| RightToLeftPlotOrder | Gets or sets whether the points on the horizontal axis are plotted in right-to-left order.
Returns |