How Do I Create and Customize a Categorical Spline Chart?

Example for a Categorical Spline Chart
Example for a Categorical Spline Chart

To customize a Categorical Spline Chart, follow these steps:

    1. Open your graph file (.slg) and the Open View Dialog will pop up. Select “Cartesian Chart” as view type on the left-hand side of the Open View Dialog and “categorical chart” as default view template. In contrast to XY Charts, the horizontal axis of a Categorical Chart represents categorical attribute values (i.e. name, id…) rather than a numerical scale (as in the XY chart).
      View Settings for the Categorical Chart
      View Settings for the Categorical Chart

      In the View Settings, you can select your preferred chart kind (i.e. Spline chart), the data set you would like to plot (in the shown example, we would like the costs of all part nodes), the category (which will be assigned to the horizontal axis) and the value (which will be assigned to the vertical axis).  In our example, we set the unique categorical part attribute “id” as Category for the X axis and select the part attribute cost as “Value” in order to visualize the part cost.

    2. Select “Spline plot” in the View Manager Pad. Thereupon, the properties pad shows all adjustable data and view properties.
    3. Go to the Properties Pad and adjust the properties by choosing from drop downs, entering text or editing boxes. You can have a detailed view of each property by clicking on the “…” button. A list of all available properties can be found in the table below.
      Adjust the Properties of the Categorical Line Chart in the Properties Pad
      Adjust the Properties of the Categorical Spline Chart in the Properties Pad
    4. Click on the canvas to set a chart title or to modify your axis attributes in the properties pad.
    5. As soon as you are happy with your customized view, you can save the settings by extracting a view template. Thus, you can reuse it for any graph file. You find your saved view templates under “My View Templates in the Open View Dialog.
      Extract a View Template and Save It for Reuse. You find it under My View Templates in the Open View Dialog
      Extract a View Template and Save It for Reuse

Available data and view properties:

 

Graph ElementsProperty NameDescription
CanvasHorizontal Axis Label Fit ModeDefines, how the horizontal axis text is displayed.
CanvasHorizontal Axis Smart Labels OnUse smart labels to avoid overlapping axis labels
CanvasVertical Axis Smart Labels OnUse smart labels to avoid overlapping axis labels
CanvasShow Track BallEnables the trackball to quickly extract all relevant data while hovering over graph elements
CanvasHorizontal AxisDefines how this axis shall be scaled, i.e. Linear, Categorical, DateTimeContinuousAxis
CanvasVertical AxisDefines how this axis shall be scaled, i.e. Linear, Categorical, DateTimeContinuousAxis
CanvasTitleDefines the title of the chart
Node, EdgeLabel TextDefines the label text
Node, EdgeTooltipDefines the text which is showed while hovering over the element with the mouse
Nodes, EdgesCategoryDefines which attribute is shown on the x-axis
Nodes, EdgesValueDefines which attribute is shown on the y-axis
Nodes, Edges, LegendVertical Axis TitleDefines the title of the y-axis
Nodes, Edges, LegendShow LabelsDefines whether labels are shown or hidden
Nodes, Edges, LegendSort directionDefines whether the elements are sorted descending or ascending
Nodes, Edges, LegendSort byDefines an attribute by which the elements are sorted
Nodes, Edges, LegendColorDefines the color of the visualized elements
Nodes, Edges, LegendHorizontal Axis TitleDefines the title of the x-axis
Nodes, Edges, LegendLegend TitleDefines the title of the chart legend

Was this article helpful?

Related Articles