API Reference
Class
OfficeDataBarRenderer
Shared dependency-free renderer for proportional data bars inside a rectangular region.
Inheritance
- Object
- OfficeDataBarRenderer
Methods
public static StringBuilder AppendSvg(StringBuilder builder, Double x, Double y, Double width, Double height, Double startRatio, Double ratio, OfficeColor color, Double verticalInset = 2) #Returns:
StringBuilderAppends SVG markup for a resolved data bar.
Parameters
- builder System.Text.StringBuilder
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- startRatio System.Double
- ratio System.Double
- color OfficeIMO.Drawing.OfficeColor
- verticalInset System.Double = 2
public static Void DrawRaster(OfficeRasterCanvas canvas, Double x, Double y, Double width, Double height, Double startRatio, Double ratio, OfficeColor color, Double verticalInset = 2) #Returns:
VoidDraws a resolved data bar on a raster canvas.
Parameters
- canvas OfficeIMO.Drawing.OfficeRasterCanvas
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- startRatio System.Double
- ratio System.Double
- color OfficeIMO.Drawing.OfficeColor
- verticalInset System.Double = 2
public static OfficeDataBarGeometry Resolve(Double x, Double y, Double width, Double height, Double startRatio, Double ratio, Double verticalInset = 2, Double minimumHeight = 1) #Returns:
OfficeDataBarGeometryResolves data-bar placement and size without binding the result to a specific output format.
Parameters
- x System.Double
- y System.Double
- width System.Double
- height System.Double
- startRatio System.Double
- ratio System.Double
- verticalInset System.Double = 2
- minimumHeight System.Double = 1
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object