BarChartStyleSetting Class — NXOpen Python API Reference 12.0.0 documentation

# BarChartStyleSetting Class

class `NXOpen.CAE.Xyplot.``BarChartStyleSetting`

  Bases: `NXOpen.CAE.Xyplot.BaseSymbolStyleSetting`

  Represents the bar chart display style.

  Call `CAE.Xyplot.BaseDisplayStyleSetting.CommitChange()` to apply style changes to corresponding plot after it’s modified.

  Not support KF.

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
FillingColor | Returns or sets the filling color
JournalIdentifier | Returns the identifier that would be recorded in a journal for this object.
OutlineColor | Returns or sets the outline color
Owner | Returns the owner style
PointMarker | Returns or sets the point marker
PointMarkerIdx | Returns or sets the point marker
ShowOutline | Returns or sets the outline visibility
ShowText | Returns or sets the text visibility
SpaceBetweenTextAndBar | Returns or sets the spaces between text and bar measured in percentage.
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.

# Property Detail

## FillingColor

`BarChartStyleSetting.``FillingColor`

  Returns or sets the filling color

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

  Getter Method

  Signature `FillingColor`

  Returns: |
  Return type: | Id

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FillingColor`

  Parameters: | fillingColor (Id) –

  New in version NX12.0.0.

  License requirements: None.

## OutlineColor

`BarChartStyleSetting.``OutlineColor`

  Returns or sets the outline color

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

  Getter Method

  Signature `OutlineColor`

  Returns: |
  Return type: | Id

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `OutlineColor`

  Parameters: | outlineColor (Id) –

  New in version NX12.0.0.

  License requirements: None.

## Owner

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

## PointMarkerIdx

`BarChartStyleSetting.``PointMarkerIdx`

  Returns or sets the point marker

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

  Getter Method

  Signature `PointMarkerIdx`

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

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `PointMarkerIdx`

  Parameters: | pointMarker (`NXOpen.CAE.Xyplot.PointMarker`) –

  New in version NX12.0.0.

  License requirements: None.

## ShowOutline

`BarChartStyleSetting.``ShowOutline`

  Returns or sets the outline visibility

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

  Getter Method

  Signature `ShowOutline`

  Returns: |
  Return type: | bool

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ShowOutline`

  Parameters: | showOutline (bool) –

  New in version NX12.0.0.

  License requirements: None.

## ShowText

`BarChartStyleSetting.``ShowText`

  Returns or sets the text visibility

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

  Getter Method

  Signature `ShowText`

  Returns: |
  Return type: | bool

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ShowText`

  Parameters: | showText (bool) –

  New in version NX12.0.0.

  License requirements: None.

## SpaceBetweenTextAndBar

`BarChartStyleSetting.``SpaceBetweenTextAndBar`

  Returns or sets the spaces between text and bar measured in percentage.

  The acceptable range is 0-10.

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

  Getter Method

  Signature `SpaceBetweenTextAndBar`

  Returns: |
  Return type: | int

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SpaceBetweenTextAndBar`

  Parameters: | spaceBetweenTextAndBar (int) –

  New in version NX12.0.0.

  License requirements: None.

# Method Detail

## CommitChange

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