*BeginCategoryOverride()
Indicates the beginning of a category legend override block. This is used to post a category-based legend when plotting certain result types.
Syntax
*BeginCategoryOverride(name)
Application
HyperView
Inputs
- name
- The name of the data type for which the preference option will be applied.
Context
*BeginContour()
Substatements
*Category()
Example
*BeginContour()
...
*BeginCategoryOverride("Contact Status")
*Category(3, "Frozen", "255 0 0")
*Category(2, "ClosedStick", "255 165 0")
*Category(1, "ClosedSlip", "0 255 0")
*Category(0, "Open", "0 0 255")
*Category("N/A", "No Result", "192 192 192")
*EndCategoryOverride()
...
*EndContour()
Comments
Every *BeginCategoryOverride() statement requires a closing *EndCategoryOverride() statement.
Category overrides are used to show results that are represented as discrete numerical values using a custom category legend as opposed to a numerical legend.
See the *BeginCategoryOverride() Preference File statement for additional details on setting custom category overrides.