[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ISparkHorizontalAxis.RightToLeftPlotOrder

RightToLeftPlotOrder Property

RightToLeftPlotOrder

Gets or sets whether the points on the horizontal axis are plotted in right-to-left order.

Returns true when points on the sparkline horizontal axis are plotted from right to left instead of the default left-to-right order.

Declaration
bool RightToLeftPlotOrder { get; set; }
Property RightToLeftPlotOrder As Boolean
Examples
worksheet.Range["A1:A4"].Value = new object[,] {{1}, {3}, {2}, {4}};
ISparklineGroup group = worksheet.Range["B1"].SparklineGroups.Add(SparkType.Line, "A1:A4");
ISparkHorizontalAxis horizontalAxis = group.Axes.Horizontal;
bool rightToLeft = horizontalAxis.RightToLeftPlotOrder;