NtTimeChartControl.SetNtPerspective Method
Within the NtTimeChartControl the current row order and category settings are defined by a NtPerspective object.
This object simply defines a set of categories and subcategories and which data types are shown in which category. In other words: Once an application defined how certain data types
shall be displayed in terms of colors, fonts, curves, texts etc. the NtPerspective defines the final order on the screen.
The reason for this approach is that certain data is always displayed in the same way (for example a medical chart might always display the heart rate in a red curve). Still the user may then be free to show or hide
certain data or prefers a certain arrangement of the rows within the chart. For this reason, the active NtPerspective can quickly be exchanged. This means
that you might have certain standard perspectives and then swap the display between them.
Example: Same data, differend row order arranged by two different perspectives:

So you can quickly change the arrangement of rows and categories by replacing the NtPerspective stored in the NtTimeChartControl.
You do this by calling this method.
Overload List:
| Modifier / Return Value | Name and Parameters | Description |
|---|---|---|
|
|
|
Sets the NtPerspective for use by this NtTimeChartControl. |
Return value:
Parameters:
The NtPerspective perspective to set.
Remarks:
The NtPerspective defines the following:
- The Time Chart's rows and their order.
- For each row: Which data types are in this row.
- The assignment of Row Headers to the NtFlankControls (if there are any NtFlankControls).
- Categories and subcategories.
- Which categories / subcategories are currently open and which are closed.
See NtPerspective for more details.
See also:
