API Reference
Class
OfficeSparklineRenderer
Shared dependency-free sparkline renderer for raster and SVG output.
Inheritance
- Object
- OfficeSparklineRenderer
Methods
public static StringBuilder AppendSvg(StringBuilder builder, Double x, Double y, Double width, Double height, IReadOnlyList<Double> values, OfficeSparklineKind kind, OfficeSparklineStyle? style = null) #Returns:
StringBuilderAppends SVG elements for a sparkline.
Parameters
- builder System.Text.StringBuilder
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- values System.Collections.Generic.IReadOnlyList<System.Double>
- kind OfficeIMO.Drawing.OfficeSparklineKind
- style OfficeIMO.Drawing.OfficeSparklineStyle? = null
public static Void DrawRaster(OfficeRasterCanvas canvas, Double x, Double y, Double width, Double height, IReadOnlyList<Double> values, OfficeSparklineKind kind, OfficeSparklineStyle? style = null) #Returns:
VoidDraws a sparkline on a raster canvas.
Parameters
- canvas OfficeIMO.Drawing.OfficeRasterCanvas
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- values System.Collections.Generic.IReadOnlyList<System.Double>
- kind OfficeIMO.Drawing.OfficeSparklineKind
- style OfficeIMO.Drawing.OfficeSparklineStyle? = null
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?