API Reference
Class
SparklineBuilder
Fluent builder for worksheet sparklines.
Inheritance
- Object
- SparklineBuilder
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method ExcelSheet.Sparklines
- Method SparklineBuilder.Axis
- Method SparklineBuilder.Color
- Method SparklineBuilder.Colors
- Method SparklineBuilder.Column
- Method SparklineBuilder.FirstLast
- Method SparklineBuilder.HighLow
- Method SparklineBuilder.Line
- Method SparklineBuilder.Markers
- Method SparklineBuilder.Negative
- Method SparklineBuilder.Type
- Method SparklineBuilder.WinLoss
Methods
public ExcelSheet At(String locationRange) #Returns:
ExcelSheetCreates the sparklines at the given location range.
Parameters
- locationRange System.String
public SparklineBuilder Axis(Boolean show = true) #Returns:
SparklineBuilderShows or hides the horizontal axis.
Parameters
- show System.Boolean = true
public SparklineBuilder Color(String color) #Returns:
SparklineBuilderSets the main sparkline series color.
Parameters
- color System.String
public SparklineBuilder Colors(String series = null, String axis = null, String negative = null, String markers = null, String high = null, String low = null, String first = null, String last = null) #Returns:
SparklineBuilderSets optional sparkline colors.
Parameters
- series System.String = null
- axis System.String = null
- negative System.String = null
- markers System.String = null
- high System.String = null
- low System.String = null
- first System.String = null
- last System.String = null
public SparklineBuilder FirstLast(Boolean show = true) #Returns:
SparklineBuilderShows or hides first and last point markers.
Parameters
- show System.Boolean = true
public SparklineBuilder HighLow(Boolean show = true) #Returns:
SparklineBuilderShows or hides high and low point markers.
Parameters
- show System.Boolean = true
public SparklineBuilder Markers(Boolean show = true) #Returns:
SparklineBuilderShows or hides point markers.
Parameters
- show System.Boolean = true
public SparklineBuilder Negative(Boolean show = true) #Returns:
SparklineBuilderShows or hides negative point markers.
Parameters
- show System.Boolean = true
public SparklineBuilder Type(SparklineTypeValues type) #Returns:
SparklineBuilderUses a specific sparkline type.
Parameters
- type DocumentFormat.OpenXml.Office2010.Excel.SparklineTypeValues
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object