Skip to main content
All docs
V21.2

ISnapFieldOwner.CreateSnSparkline(DocumentPosition, String) Method

Adds a Sparkline to the specified position in a document.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

Declaration

SnapSparkline CreateSnSparkline(
    DocumentPosition position,
    string dataFieldName
)

Parameters

Name Type Description
position DocumentPosition

A DocumentPosition object.

dataFieldName String

A String value, specifying the name of a data field bound to the created SnapSparkline.

Returns

Type Description
SnapSparkline

An object implementing the SnapSparkline interface.

See Also