C-DEngine 5.105

TheNMIEngine..::..AddChartControl<(Of <(<'T>)>)> Method (TheThing, TheStorageMirror<(Of <(<'T>)>)>, TheFormInfo, Int32, String, String, String, String, ThePropertyBag)

Adds a new Chart control to a Form

Namespace:  nsCDEngine.Engines.NMIService
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static cdeConcurrentDictionary<string, TheMetaDataBase> AddChartControl<T>(
	TheThing pMyBaseThing,
	TheStorageMirror<T> sensorHistory,
	TheFormInfo pForm,
	int pFldOrder,
	string pGroupTitle,
	string pChartTitle,
	string pLabels,
	string pPropertyNames,
	ThePropertyBag pChartBag
)
where T : TheDataBase, INotifyPropertyChanged
Public Shared Function AddChartControl(Of T As {TheDataBase, INotifyPropertyChanged}) ( _
	pMyBaseThing As TheThing, _
	sensorHistory As TheStorageMirror(Of T), _
	pForm As TheFormInfo, _
	pFldOrder As Integer, _
	pGroupTitle As String, _
	pChartTitle As String, _
	pLabels As String, _
	pPropertyNames As String, _
	pChartBag As ThePropertyBag _
) As cdeConcurrentDictionary(Of String, TheMetaDataBase)
public:
generic<typename T>
where T : TheDataBase, INotifyPropertyChanged
static cdeConcurrentDictionary<String^, TheMetaDataBase^>^ AddChartControl(
	TheThing^ pMyBaseThing, 
	TheStorageMirror<T>^ sensorHistory, 
	TheFormInfo^ pForm, 
	int^ pFldOrder, 
	String^ pGroupTitle, 
	String^ pChartTitle, 
	String^ pLabels, 
	String^ pPropertyNames, 
	ThePropertyBag^ pChartBag
)

Type Parameters

T
Class Name of the storage Mirror to be added

Parameters

pMyBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
Owner thing
sensorHistory
Type: nsCDEngine.Engines.StorageService..::..TheStorageMirror<(Of <(<'T>)>)>
StorageMirror for the chart data
pForm
Type: nsCDEngine.Engines.NMIService..::..TheFormInfo
Form of the chart to be inserted
pFldOrder
Type: Int32
FldOrder for the Chart Control
pGroupTitle
Type: String
Name for the Collapsible Group
pChartTitle
Type: String
Title of the Chart
pLabels
Type: String
List of values separated by ; to be shown in the chart. Must be set to at least one Value
pPropertyNames
Type: String
List of Propertys to be shown in the chart separated by ;. Must be set to at least one Name.
pChartBag
Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
Property Bag for the Chart Control

Return Value