Class
VisioDataGraphic
OfficeIMO.Visio
Reusable data graphic definition composed of one or more visible Shape Data items.
Inheritance
- object
- VisioDataGraphic
Usage
Explore 10 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 3
- Method VisioDataGraphic.Badge
- Method VisioDataGraphic.Bar
- Method VisioDataGraphic.Create
Accepted by parameters 7
- Method VisioDataGraphicEditingExtensions.AddDataGraphicLegend
- Method VisioDataGraphicEditingExtensions.RefreshDataGraphics
- Method VisioDataGraphicExtensions.AddDataGraphics
- Extension method VisioPage.AddDataGraphicLegend
- Extension method VisioPage.AddDataGraphics
- Extension method VisioPage.RefreshDataGraphics
- Extension method VisioShapeSelection.AddDataGraphics
Constructors
public VisioDataGraphic() #Methods
public VisioDataGraphic Badge(string fieldName, string? label = null, VisioShapeStyle? style = null) #Adds a text badge item.
Parameters
- fieldName string
- label string? = null
- style OfficeIMO.Visio.VisioShapeStyle? = null
Returns
VisioDataGraphicpublic VisioDataGraphic Bar(string fieldName, double minimumValue = 0, double maximumValue = 100, string? label = null, VisioShapeStyle? fillStyle = null) #Adds a data bar item.
Parameters
- fieldName string
- minimumValue double = 0
- maximumValue double = 100
- label string? = null
- fillStyle OfficeIMO.Visio.VisioShapeStyle? = null
Returns
VisioDataGraphicpublic static VisioDataGraphic Create() #Creates an empty data graphic definition.
Returns
VisioDataGraphicInherited Methods
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 bool ShowEmptyValues { get; set; } #Whether empty Shape Data values should still produce visible graphics.