Click or drag to resize
Grid Solutions Framework

AnnotationRequestExtensionsPopulateResponse Method

Populates an annotation response title, text and tags for specified annotation type.

Namespace: GrafanaAdapters.Annotations
Assembly: GrafanaAdapters (in GrafanaAdapters.dll) Version: 2.4.218-beta
Syntax
public static void PopulateResponse(
	this AnnotationType type,
	AnnotationResponse response,
	string target,
	DataRow definition,
	double[] datapoint,
	DataSet source
)
View Source

Parameters

type  AnnotationType
Annotation type.
response  AnnotationResponse
Annotation response.
target  String
Target of annotation response.
definition  DataRow
Associated metadata definition for response.
datapoint  Double
Time series values data point for response.
source  DataSet
Metadata of source definitions.

Return Value

Populates an annotation response title, text and tags for specified annotation type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type AnnotationType. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also