DiagramDisplayStyles2D Class — NXOpen Python API Reference 12.0.0 documentation

# DiagramDisplayStyles2D Class

class `NXOpen.CAE.Xyplot.``DiagramDisplayStyles2D`

  Bases: `NXOpen.CAE.Xyplot.DiagramDisplayStyles`

  Manages the display styles for 2D diagram.

  Not support KF.

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object.
Owner | Returns the owner style
StyleCount | Returns the style count
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.
GetBarStyleSetting | Gets the bar display style.
GetGraphOptionsStyle | Gets the nth graph options display style.
GetGraphStyle | Gets the graph style.
GetLineStyleSetting | Gets the line display style.
GetPlateStyleSetting | Gets the plate display style.
GetScatterStyleSetting | Gets the scatter display style.
GetSurfaceStyleSetting | Gets the surface display style.
GetVectorStyleSetting | Gets the vector display style.
SetGraphStyle | Sets the graph style.

# Property Detail

## Owner

`DiagramDisplayStyles2D.``Owner`

  Returns the owner style

  `-------------------------------------`

  Getter Method

  Signature `Owner`

  Returns: |
  Return type: | `NXOpen.CAE.Xyplot.IDisplayStyle`

  New in version NX10.0.0.

  License requirements: None.

# Method Detail

## CommitChange

`DiagramDisplayStyles2D.``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.

## GetGraphOptionsStyle

`DiagramDisplayStyles2D.``GetGraphOptionsStyle`

  Gets the nth graph options display style.

  The style index must be greater than or equal to 0 and less than `CAE.Xyplot.DiagramDisplayStyles.StyleCount()`.

  Signature `GetGraphOptionsStyle(styleIndex)`

  Parameters: | styleIndex (int) –
  Returns: |
  Return type: | `NXOpen.CAE.Xyplot.GraphOptionsStyle2D`

  New in version NX12.0.0.

  License requirements: None.