LegendTableStyle Class¶
-
class
NXOpen.CAE.Xyplot.LegendTableStyle¶ Bases:
NXOpen.CAE.Xyplot.BaseDisplayStyleSettingManages the legend table styles.
Not support KF.
New in version NX12.0.0.
Properties¶
| Property | Description |
|---|---|
| BackgroundColor | Returns or sets the legend table header background color |
| GridBackgroundColor | Returns or sets the grid background color |
| IsBorderLineVisible | Returns or sets the border line visibility |
| IsGridBackgroundFilled | Returns or sets the value of controlling whether the grid background is filled |
| IsGridLineVisible | Returns or sets the grid line visibility |
| IsHeaderVisible | Returns or sets the legend table header visibility |
| JournalIdentifier | Returns the identifier that would be recorded in a journal for this object. |
| MaximumLegendItemCount | Returns or sets the maximum displayable functions count on legend table page |
| Owner | Returns the owner style |
| Tag | Returns the Tag for this object. |
Methods¶
| Method | Description |
|---|---|
| CommitChange | Commits any edits that have been applied to the display style. |
| Find | Finds the NXOpen.TaggedObject with the given identifier as recorded in a journal. |
| GetBorderLineStyle | Gets the border line style. |
| GetColumnTitles | Gets the legend table column titles |
| GetGridLineStyle | Gets the grid line style. |
| GetPositionType | Gets the legend table style type |
| GetTextStyle | Gets the text style. |
| SetColumnTitles | Sets the legend table column titles |
Property Detail¶
BackgroundColor¶
-
LegendTableStyle.BackgroundColor¶ Returns or sets the legend table header background color
-------------------------------------Getter Method
Signature
BackgroundColorReturns: Return type: Id New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
BackgroundColorParameters: backgroundColor (Id) – New in version NX12.0.0.
License requirements: None.
GridBackgroundColor¶
-
LegendTableStyle.GridBackgroundColor¶ Returns or sets the grid background color
-------------------------------------Getter Method
Signature
GridBackgroundColorReturns: Return type: Id New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
GridBackgroundColorParameters: gridBackgroundColor (Id) – New in version NX12.0.0.
License requirements: None.
IsBorderLineVisible¶
-
LegendTableStyle.IsBorderLineVisible¶ Returns or sets the border line visibility
-------------------------------------Getter Method
Signature
IsBorderLineVisibleReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsBorderLineVisibleParameters: isBorderLineVisible (bool) – New in version NX12.0.0.
License requirements: None.
IsGridBackgroundFilled¶
-
LegendTableStyle.IsGridBackgroundFilled¶ Returns or sets the value of controlling whether the grid background is filled
-------------------------------------Getter Method
Signature
IsGridBackgroundFilledReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsGridBackgroundFilledParameters: isGridBackgroundFilled (bool) – New in version NX12.0.0.
License requirements: None.
IsGridLineVisible¶
-
LegendTableStyle.IsGridLineVisible¶ Returns or sets the grid line visibility
-------------------------------------Getter Method
Signature
IsGridLineVisibleReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsGridLineVisibleParameters: isGridLineVisible (bool) – New in version NX12.0.0.
License requirements: None.
IsHeaderVisible¶
-
LegendTableStyle.IsHeaderVisible¶ Returns or sets the legend table header visibility
-------------------------------------Getter Method
Signature
IsHeaderVisibleReturns: Return type: bool New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
IsHeaderVisibleParameters: isHeaderVisible (bool) – New in version NX12.0.0.
License requirements: None.
MaximumLegendItemCount¶
-
LegendTableStyle.MaximumLegendItemCount¶ Returns or sets the maximum displayable functions count on legend table page
-------------------------------------Getter Method
Signature
MaximumLegendItemCountReturns: Return type: int New in version NX12.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
MaximumLegendItemCountParameters: maxLegendItemCount (int) – New in version NX12.0.0.
License requirements: None.
Owner¶
-
LegendTableStyle.Owner¶ Returns the owner style
-------------------------------------Getter Method
Signature
OwnerReturns: Return type: NXOpen.CAE.Xyplot.IDisplayStyleNew in version NX10.0.0.
License requirements: None.
Method Detail¶
CommitChange¶
-
LegendTableStyle.CommitChange¶ Commits any edits that have been applied to the display style.
Triggers the corresponding plot to update graph.
Signature
CommitChange()New in version NX9.0.0.
License requirements: None.
GetBorderLineStyle¶
-
LegendTableStyle.GetBorderLineStyle¶ Gets the border line style.
Signature
GetBorderLineStyle()Returns: Border Line style Return type: NXOpen.CAE.Xyplot.CurveDisplaySettingsNew in version NX12.0.0.
License requirements: None.
GetColumnTitles¶
-
LegendTableStyle.GetColumnTitles¶ Gets the legend table column titles
Signature
GetColumnTitles()Returns: column titles Return type: list of str New in version NX12.0.0.
License requirements: None.
GetGridLineStyle¶
-
LegendTableStyle.GetGridLineStyle¶ Gets the grid line style.
Signature
GetGridLineStyle()Returns: Grid Line style Return type: NXOpen.CAE.Xyplot.CurveDisplaySettingsNew in version NX12.0.0.
License requirements: None.
GetPositionType¶
-
LegendTableStyle.GetPositionType¶ Gets the legend table style type
Signature
GetPositionType()Returns: Return type: NXOpen.CAE.Xyplot.LegendTablePositionTypeNew in version NX12.0.0.
License requirements: None.
GetTextStyle¶
-
LegendTableStyle.GetTextStyle¶ Gets the text style.
Signature
GetTextStyle()Returns: Text display style Return type: NXOpen.CAE.Xyplot.LegendTableTextStyleNew in version NX12.0.0.
License requirements: None.