Define the Data to Show
-
In the Properties panel, go to
Data.
-
Select a Query that is either a data query or a data fusion, previously defined in the
Queries menu.
-
If you have selected a data query, also select a Result
Set.
Define the Measures to Show
You can configure the measures to show in the visualization. By default, Data Perspective Studio suggest the aggregations available in the query Result
set.
You can select up to 5 aggregations to compare data in a single
Gauge chart. In that case, each measure has its own needle and its
own label and value.
- In the Properties panel, go to Data.
-
In the Value configuration section, click to add an aggregation.
Data Perspective Studio lists the numerical fields, and the aggregation functions defined in the data query.
The default aggregation is COUNT.
-
Select the field containing the measure to show, and the aggregation to
apply.
-
Enter a Label.
-
For Value color, define how to colorize the numerical
value and the needle (it does not apply to the label). For example, select a blue
color.
You can customize the color using a linear or discrete gradient, that takes the
first and the last interval colors to determine the value color. By default, it
takes 0 and 100 but you can add more values to the scale and select their
corresponding colors.
- Optional:
Repeat the previous step to add more measures.
- Optional:
In Value font size select the font size (in pixels) to apply
to the values at the bottom of the Gauge chart.
- Optional:
In Format value select the format of the measure value.
For example, you can select 1000.00 to see two decimals
only.
Result: In the following example, the Gauge chart shows values for two
aggregations. The labels of these aggregations are Incidents and
Risk Probability and they use different colors.

Note:
In the example, Low,
Medium, High, and
Critical are the labels defined for the gauge
intervals.
Define the Gauge Intervals
- In the Properties panel, go to Data.
-
In the Interval configuration section, first define the
Minimum property to represent the lowest value.
Recommendation:
Adding another value that 0 can be
difficult to understand for users.
-
Click to add the required
intervals.
Define each area interval by specifying a threshold value in
Maximum, a Label, and an
Interval color. Note:
There must be at least 1 interval but
there is no fixed number of areas.
- Optional:
In Intervals font size select the font size (in pixels) to
apply to the interval labels.
Define Dynamic Values
You can define a measure in the Gauge chart to get dynamic
min and max aggregation values for the target.
- In the Properties panel, go to Data.
-
In the Minimum section, define the minimum value.
-
Clear the Custom value check box.
-
From Value, select a field, and select
MIN as aggregation.
-
In the Intervals section, define the maximum value.
-
Clear the Custom value check box.
-
From Value, select a field, and select
MAX as aggregation.
-
Define each area interval by specifying a color, and optionally a label.
Result:

Show Underlying Data in a Data Panel
You can add a Show underlying data action in the
Actions menu of most charts. On-click, the Data Viewer
(AEP) can see more information about chart data in a data panel at the bottom of the page.
Recommendation:
Use the Open panel or dialog effect
instead of this feature.
-
In the Properties panel, go to
Data.
-
In the Data Panel section, select Enable Data
Panel.
-
From Fields, add the fields that you want to see as table
columns in the data panel.
- Optional:
Select Allow to reorder columns if you want the Data Viewer
(AEP) to be able to reorder columns by dragging their headers.
- Optional:
From Buttons, define the icons (and their on-click effects)
to show in an Actions column.
- Optional:
Select Enable drag to add a drag icon in the first column for users to drop objects
in another 3DEXPERIENCE platform
app.
-
In Object ID source, select the field to use as data
source.
-
In Object type source, specify the name of the object to
drag. For example,
VPMReference.
- Optional:
In Object path source, specify the field containing the
definition of the
path attribute.
Note:
The destination app uses the path attribute to get the context of the dragged
object.The field must be a tuple table, where each tuple defines a
resourceid attribute, and a type attribute
(Tuple<resourceid: string, type: string>).
[{
"resourceid": "7ED583CD0000168C63C6F2E200020D1F",
"type": "VPMReference"
},
{
"resourceid": "7ED583CD0000168C63C6F2E300043C51",
"type": "VPMInstance"
},
{
"resourceid": "7ED583CD0000168C63C6F2E200020D56",
"type": "VPMReference"
}
]
-
For 3DEXPERIENCE Service, select the variable, which
contains the id of the 3DEXPERIENCE platform service. For example, 3DSpace.
- Optional:
Select Add "Open with" in the actions column to add a button
allowing the Data Viewer
(AEP) to open an object in another 3DEXPERIENCE platform
app.
For example, 3D Markup, CATIA V5,
Product Explorer, or Product Structure Editor.
- Optional:
Enter the Label to show on the Open
with button.
-
In Icon, specify the button icon.
- Optional:
You can also add a tooltip and a theme.
- Optional:
From Effects (On checkbox click), you can define an
interaction with a 3D app
outside of your Data Perspective to select a part. When the Data Viewer
(AEP) clicks a 3D object in the data panel, the 3D app
refreshes to show corresponding data.
Note:
To do the opposite, that is, click an object in a 3D app
and refresh the Data Perspective view, use Effects (On 3D Selection).
- Optional:
From Effects (On 3D Selection), you can define how the data
panel reacts, when the Data Viewer
(AEP) clicks a 3D object in a 3D app
outside of your Data Perspective. The data panel refreshes to show the data selected in the 3D app.
Result:

Configure the Display
You can configure the display using several options.
The
Gauge chart takes 90% of the visualization space.
-
In the Properties panel, go to Display.
- From Display type, define the display type of the visualization between Card and No card.
The Card type applies the Cards configuration defined for the applied page theme in the menu.
-
In Title, specify the visualization title.
| Option | Description |
|---|
| Static value | To enter a static textual value. |
|---|
| Translatable value | To localize the title or label in other languages, you can select a translation key. You
define keys and translation values in the
Translation menu. |
|---|
| Expression
value |
To configure a dynamic title or label, you can enter an expression based on
the expression language. In your expression, you can use a
Variable with VARIABLES.<variable name>
and a
Translation key with I18N.<translation key
name>.
For example, you can make a dynamic title like Number of cars sold in
{{country}}, where the title string is associated with the
myKey translation key, and {{country}}
is a variable: I18N.myKey.replace("{{country}}",
VARIABLES.country)
If the variable value is France, you get Number
of cars sold in France if English is the preferred language,
Nombre de voitures vendues en France if French is the
preferred language...
You can also use Aggregations coming from the
RESULT SET of your data query.
Example 1: You can configure a count in the title to get Number of
cars: <count value>. In the RESULT
SET, from the Aggregations section,
define a count_aggr aggregation with Count
as function aggregation.

In the visualization, use the count_aggr aggregation in the
Expression value: "Number of cars: " +
cars.count_aggr Example 2: You can configure the title to
display Car sales in: <set of country values>. In the
RESULT SET, from the
Aggregations section, define a
countries_aggr aggregation with To Set
as function aggregation.
In the visualization, use the countries_aggr aggregation in
the
Expression value: "Car sales in: " +
cars.countries_aggr.joinToString(separator: ", ", limit: 3) to
display a title like Car sales in: Belgium, Denmark,
England...
|
- Optional: In Icon, select the icon that represents the visualization.
- Optional:
Select Hide header, if you want to show the
visualization without header (this hides the Title, the
icon if the visualization can show one in the header, and the
Actions menu).
- Optional: Select Minimizable to add a Minimize option in the Actions menu, allowing users to collapse the visualization.
You can also select Minimized by default if you want the default display to show a collapsed view of the visualization. - Optional:
Select Customize font size to change the default font size (14 pixels) for all chart labels, including legends, tooltips, and axis labels.
Add a Condition to Show the Visualization
You can add conditions to show or hide visualizations. This is useful to choose
whether to reveal or hide information, depending on a variable value or a user role.
You can also add conditions on home page
buttons, menu sections, and subsections.
Note:
If you add several conditions on the same visual element, Data Perspective Studio interprets them implicitly with OR operators (for example,
condition1 or condition2).
-
In the Properties panel, go to Display.
-
In the Conditional display section, click to add a Condition.
-
For Select item to compare, choose one of the following
options on the right of the field:
| Option | Description |
|---|
| Variable
value |
Use this option to select the variable that stores the condition values. For
example, select a variable called myvar with an
Initial value set to 5.
The supported types of variables are:
-
String
-
Integer
-
Float
-
Boolean
-
List for any of the above types.
|
| User roles |
Use this option to verify that the user has the role defined in Value.
|
-
For Comparator, select the condition comparator.
- If you selected
Variable value, you can choose between several operators. For
example, select <= if you want the condition to apply only
if the field value is lower or equal to the condition value.
- If you selected
User roles, you can choose between
contains or does not contain.
-
For Value, specify the condition value.
- If you selected
Variable value, specify a value corresponding to the variable
type.
For example, if the variable initial value 5 is
<= to the condition value 6,
the visualization is visible.

- If you selected
User roles, enter a role trigram.
For example, if the user roles contain AEP (trigram for the Data Viewer
(AEP)
role), the Data Perspective is visible to all users having the Data Viewer
(AEP)
role.
Override the Applied Theme with a Specific Style
You can override the theme applied to all Data Workspace pages and visualizations with a specific style defining different display
settings.
Before you begin: You have defined a style in .
- In the Properties panel, go to Style.
- Select the style to apply to the visualization.
|