C-DEngine 5.105

TheNMIEngine..::..AddChartScreen Method (TheThing, TheChartDefinition, Int32, String, Int32, Int32, String, Boolean, ThePropertyBag)

Create a new Chart Screen returning a dictionary of TheMetaDataBase that can be mapped: "Form" TheFormInfo; "DashIcon" TheDashPanelInfo of the icon in the Dashboard; "Group" TheFieldInfo of the Collapsible Header group; "Chart" TheFieldInfo of the Chart Control

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

Syntax


public static cdeConcurrentDictionary<string, TheMetaDataBase> AddChartScreen(
	TheThing pMyBaseThing,
	TheChartDefinition pChart,
	int pOrder,
	string DashIconHeader,
	int pFlags,
	int pACL,
	string pCategory,
	bool UseCustomData,
	ThePropertyBag pPropertyBag
)
Public Shared Function AddChartScreen ( _
	pMyBaseThing As TheThing, _
	pChart As TheChartDefinition, _
	pOrder As Integer, _
	DashIconHeader As String, _
	pFlags As Integer, _
	pACL As Integer, _
	pCategory As String, _
	UseCustomData As Boolean, _
	pPropertyBag As ThePropertyBag _
) As cdeConcurrentDictionary(Of String, TheMetaDataBase)
public:
static cdeConcurrentDictionary<String^, TheMetaDataBase^>^ AddChartScreen(
	TheThing^ pMyBaseThing, 
	TheChartDefinition^ pChart, 
	int^ pOrder, 
	String^ DashIconHeader, 
	int^ pFlags, 
	int^ pACL, 
	String^ pCategory, 
	bool^ UseCustomData, 
	ThePropertyBag^ pPropertyBag
)

Parameters

pMyBaseThing
Type: nsCDEngine.Engines.ThingService..::..TheThing
Owner Thing of the Chart Screen. The screen will be placed in the Dashboard of the plugin of the ownerthing
pChart
Type: nsCDEngine.Engines.NMIService..::..TheChartDefinition
Chart Definition for the screen
pOrder
Type: Int32
fld order in the dashboard
DashIconHeader
Type: String
Text for the tile in the Dashboard. If empty the pCharts.TitleText will be used
pFlags
Type: Int32
Flags for the Screen
pACL
Type: Int32
User AccessLevel for the screen
pCategory
Type: String
Category in the Dashbboard
UseCustomData
Type: Boolean
if true, the data will be coming from the Engine of the ownerthing (rare!)
pPropertyBag
Type: nsCDEngine.Engines.NMIService..::..ThePropertyBag
Propertybag for the screen

Return Value