Setting Chart Properties

Each chart has properties that can be set for the chart data, and properties that can be set for the chart display. The chart data properties should be discussed in the help for the individual applications that are displaying the chart. This section will talk about the chart display properties, which should be common to charts displayed by any Workbench application. The various chart properties will be shown in the Properties view in the tab.


Note:  Only the properties that are applicable for the current chart type will be displayed when you edit any particular chart component (an axis, for example). Therefore, although a property may be listed in this document under Axis Properties, that property might only appear for one or two chart types, or the property may only appear for continuous or discrete axes.


Axis Properties

To set axis properties, right-click on or outside of an axis and select Edit Properties. The axis properties that are available depend on whether the chart axis is discrete or continuous. Some of the settings include:

  • Title – name for that axis (often defaults to variable name)

  • Title Background Color – background color used for axis name

  • Show/Hide Grid – if checked, show a grid for this chart axis

  • Automatic Range – if checked, use automatic scaling for the axis, otherwise use the Range Minimum and Range Maximum, if they fall within the data bounds

  • Range Minimum – set minimum range of axis

  • Range Maximum – set maximum range of axis

  • Is Logarithmic – if checked, set axis scaling to be logarithmic if (linear if unchecked)

  • Is Usability – if checked, display a line/bar plot of the cross section data in a perpendicular direction to the axis direction

Legend Properties

Legend properties can be set by right-clicking the legend (border or background) and selecting Edit Properties, or can be set as part of the general chart properties. Be sure not to click one of the legend variables as the properties for that variable will be displayed, rather than the legend properties. The legend properties include:

  • Visible – if checked, displays the legend for the chart

  • Style – displays the legend entries either horizontally or vertically, and allows the legend to be expanded in the same direction, if it provides any benefit (defaults to vertical)

  • Foreground Color – sets the color of the legend border

  • Background Color – sets the color of the legend background

The legend defaults to no background color or foreground color (border). When you hover the cursor over the legend, you should see its borders. You set the background and foreground colors using a color wheel. You can select a new color and apply it, and you can also click More>> and change the Alpha channel to 0 for transparent or 255 for opaque.


Note:  If there are too many entries in the legend, the legend will not display, even if Visible is checked.


Variable Properties

Variable display properties can be set by either right-clicking the variable plot on the chart and selecting Edit Properties, or by right-clicking the variable name in the legend and selecting Edit Properties. The Properties view shows the display properties available for that variable. The properties, when available, may include the following fields.

  • Label - name for that variable plot

  • Display As - selects the type of plot used for the variable

  • Automatic Range - set automatic determination of variable range on or off

  • Range Minimum - set minimum range of variable values displayed

  • Range Maximum - set maximum range of variable values displayed

  • Allow Filtering - allow filtering on parallel coordinate plot

Style Display Properties

When plot rendering is controlled per variable, the Style display properties will appear when you edit the variable properties. When plot line rendering is controlled generally rather than per variable (as for spider charts, for example), the Style display properties will appear when you edit the chart properties.

  • Smoothed Edges – renders lines/surfaces with anti-aliasing set on, such that the line/surface appears to be smooth

  • Line Style – choose type of line used for plot

  • Symbol Style – choose type of symbol displayed in plot

  • Fill Style – choose the fill style for the objects in the plot that use it

  • Line Colors – sets the color sequence for multiple lines displayed on the chart

  • Fill Colors – sets the color sequence for sequential symbols or gradient used for plot display

  • Number of Color bands – when set to 0, the gradient will be a smooth graduation between values, rather than banded, where a single color is shown for a range of values

  • Relative Bar Width – sets the width of a bar as a proportion of available space [0 - 1], determined by the maximum size bar that can be displayed without overlapping any adjacent bars of the same variable (if other variables appear between bars of this variable, making the bar wider may overlap those intervening variables)

  • Relative Bar Offset – sets the start position of a bar, proportional to the minimum point where the bar could be placed to the maximum point where the bar could be placed [0 - 1], with the maximum size based on the same criteria as Relative Bar Width

  • Show Linear Interpolation of Lines – causes the ends of a line plot to extend to the edge of the chart, when the plot is not against a discrete axis

  • Symbol Outline Colors – sets the color used to outline displayed symbols

  • Symbol Size – sets the size of displayed symbols in pixels [1 - 16]

  • Line Width – sets the width of lines (including lines outlining bars), in pixels [1 - 10]


Note:  In most cases, properties are not shown if they are not applicable to the item selected. However, Show Linear Interpolation of Lines is displayed whether the axis is discrete or continuous, but it only applies in cases of continuous axes. The option will have no effect if you set it when the plot is displayed on a discrete axis.


Chart Properties

Most charts have a few general properties that appear under a Chart entry in the Properties view when you click the background of a chart and select Edit Properties. When plot line rendering is controlled generally rather than per variable (as for spider charts, for example), the Style display properties will also appear when you edit the chart properties. Chart properties may include:

  • Title – chart title that appears in the Chart view title bar

  • Chart Type – allows some charts to be displayed as another chart type

  • Display Percentages – turns on percentage values on pie charts


Release 18.2 - © ANSYS, Inc. All rights reserved.