Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

VisioDataGraphic

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Accepted by parameters 7

Constructors

public VisioDataGraphic() #

Methods

public VisioDataGraphic Badge(string fieldName, string? label = null, VisioShapeStyle? style = null) #

Adds a text badge item.

Parameters

fieldName string required
label string? = null optional
style OfficeIMO.Visio.VisioShapeStyle? = null optional
public VisioDataGraphic Bar(string fieldName, double minimumValue = 0, double maximumValue = 100, string? label = null, VisioShapeStyle? fillStyle = null) #

Adds a data bar item.

Parameters

fieldName string required
minimumValue double = 0 optional
maximumValue double = 100 optional
label string? = null optional
fillStyle OfficeIMO.Visio.VisioShapeStyle? = null optional
public static VisioDataGraphic Create() #

Creates an empty data graphic definition.

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.