API Reference
Class
VisioDataGraphic
Reusable data graphic definition composed of one or more visible Shape Data items.
Inheritance
- Object
- VisioDataGraphic
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 VisioDataGraphic.Badge
- Method VisioDataGraphic.Bar
- Method VisioDataGraphic.Create
Accepted by parameters
- Method VisioDataGraphicExtensions.AddDataGraphics
- Method VisioDataGraphicExtensions.AddDataGraphics
- Extension method VisioPage.AddDataGraphics
- Extension method VisioShapeSelection.AddDataGraphics
Constructors
public VisioDataGraphic() #Methods
public VisioDataGraphic Badge(String fieldName, String label = null, VisioShapeStyle style = null) #Returns:
VisioDataGraphicAdds a text badge item.
Parameters
- fieldName System.String
- label System.String = null
- style OfficeIMO.Visio.VisioShapeStyle = null
public VisioDataGraphic Bar(String fieldName, Double minimumValue = 0, Double maximumValue = 100, String label = null, VisioShapeStyle fillStyle = null) #Returns:
VisioDataGraphicAdds a data bar item.
Parameters
- fieldName System.String
- minimumValue System.Double = 0
- maximumValue System.Double = 100
- label System.String = null
- fillStyle OfficeIMO.Visio.VisioShapeStyle = null
public static VisioDataGraphic Create() #Returns:
VisioDataGraphicCreates an empty data graphic definition.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
public IReadOnlyList<VisioDataGraphicItem> Items { get; } #Data graphic items.
public VisioDataGraphicPlacement Placement { get; set; } #Placement around each target shape.
public Double Gap { get; set; } #Distance between the target and the data graphic.
public Double ItemSpacing { get; set; } #Distance between stacked items.
public String LayerName { get; set; } #Optional layer for generated data graphic shapes.
public Boolean ShowEmptyValues { get; set; } #Whether empty Shape Data values should still produce visible graphics.