ScriptTraceDiagram¶
- class ScriptTraceDiagram.ScriptTraceDiagram¶
- Bases: - objectContains the settings for a diagram of the trace.- property background_color: int¶
- Gets or sets the 32bit-ARGB representation of the background color.
 - property background_color_sel: int¶
- Gets or sets the 32bit-ARGB representation of the background color, used, while the diagram is selected.
 - property y_axis: ScriptAxisSettings¶
- Bundled settings for the y axis.
 - property variables: ScriptTraceDiagramVariableCollection¶
- The variables, used in this diagram.
 - property name: str¶
- Gets or sets the name of the diagram.
 - property can_rename: bool¶
- Gets wether the diagram can be renamed.
 - property visible: bool¶
- Gets or sets wether die diagram is visible.
 - add_diagram_variable(variable: ScriptTraceVariable, visible: bool = True) ScriptTraceDiagramVariable¶
- Adds an existing ScriptTraceVariable with the given visibility to the diagram.- Return type:
- Returns:
- The created ScriptTraceDiagramVariable, which can be used to change the visibility of the variable in the diagram.