API Reference

Class

VisioDataGraphic

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Modifiers sealed

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.

Accepted by parameters

Constructors

Methods

public VisioDataGraphic Badge(String fieldName, String label = null, VisioShapeStyle style = null) #
Returns: VisioDataGraphic

Adds a text badge item.

Parameters

fieldName System.String requiredposition: 0
label System.String = null optionalposition: 1
style OfficeIMO.Visio.VisioShapeStyle = null optionalposition: 2
public VisioDataGraphic Bar(String fieldName, Double minimumValue = 0, Double maximumValue = 100, String label = null, VisioShapeStyle fillStyle = null) #
Returns: VisioDataGraphic

Adds a data bar item.

Parameters

fieldName System.String requiredposition: 0
minimumValue System.Double = 0 optionalposition: 1
maximumValue System.Double = 100 optionalposition: 2
label System.String = null optionalposition: 3
fillStyle OfficeIMO.Visio.VisioShapeStyle = null optionalposition: 4
public static VisioDataGraphic Create() #
Returns: VisioDataGraphic

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 Boolean ShowEmptyValues { get; set; } #

Whether empty Shape Data values should still produce visible graphics.