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.
Switch to Another Type of Chart
You can switch from one type of chart to another in one click.
-
In the Properties panel, go to
Data.
-
In the Type section, click the icon corresponding to the type
of chart that you want to show.
Result: Pie chart

Donut chart

Funnel chart

Pyramid chart

Semi-donut chart
Define the Dimension
Configure the dimension to show in the chart by selecting a field.
Data Perspective Studio suggests the dimensions available in the Result Set of the
selected data query, or the dimensions
of the selected data fusion.
- In the Properties panel, go to Data.
-
In the Sectors section, click to add a Dimension.
-
For Field or dimension, select the field to show in the chart.
- Optional:
If your field stores data of type
List, you can select
Show as hierarchical tree to get a display with several levels
of depth.
You can expand and collapse these levels.
- Optional:
Click More options to open the advanced configuration
properties.
| Option | Description |
|---|
| Limit |
Select the maximum number of categories to display for the
dimension.
When the number of categories crosses this limit, the chart
creates a pagination gathering all the remaining categories. |
| Sort by |
Select how to sort dimension categories.
Alphanum: sorts the categories alphanumerically.
Custom: lets you specify how to sort the categories
contained in the dimension by defining Ordered
values.
Measure: lets you select any aggregation defined
either in or in the .
Click or to sort in ascending or
descending order.
|
| Aggregation |
Select the type of aggregation to show in the sector. The default is COUNT. |
| Format |
The options depend on the type of field that you selected.
For
String fields, you can select a text format among No
formatting, lower case, UPPER
CASE, Capital on first letter + no change
(capitalizes the first letter but does not change), Capital on first letter +
lowercase (capitalizes the first letter and turns all other letters to
lowercase), Capital On All First Letters (capitalizes the first
letter of each word).
For numeric fields, you can select
the number format to apply to the measure values. For example, a number with digits,
Currency (USD), Currency (Euro),
Exponential notation, Duration in
seconds, a Custom format...
For
Date,
DateTime,
LocalDateTime fields, you can select a date format. The default option
is User preferences. It ensures that you get a consistent date
and time across your 3DEXPERIENCE Platform
apps, by
following the preference defined in .
|
- Optional:
When you select a value in the chart, the Show filtered out
values option shows the values excluded by the filter in transparency. If
you clear this option, the chart only shows the selected value.
Define the Measure
You can configure the measure to show in the chart.
-
In the Properties panel, go to
Data.
-
In the Values section, click to add a Measure.
-
For Value, select the aggregation value to use.
- Optional:
Click More options to open more configuration
properties.
| Option | Description |
|---|
| Label |
Static value: Enter the label to show next to the value.
Translatable value: To localize the title 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, 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...
|
| Format |
Select the number format to apply to the measure values. For example, a number with
digits Currency (USD), Currency (Euro),
Exponential notation, Duration in
seconds, a Custom format...
Note:
You cannot apply a format to ranges of values.
The Custom format lets you configure many options like
Decimal places, Decimal separator,
Thousand separator, Prefix,
Suffix, Multiples… For these
Custom options, you can choose to define:
-
Static value: Enter the string to show for the selected option.
-
Translatable value: To localize the string 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 value, you can enter
an expression based on the expression language.
Use the Duration in seconds format to format a measure or a
dimension containing integers indicating time durations in seconds. It lets you define a
Duration Format option, set by default to
YMDhms (for year, month, day, hour, minute, seconds). Define the
format that best match your values by specifying the relevant units of time. For
example, if you have time values with several millions of seconds, it is better to
display them using year, months, and days only (by entering YMD). If
you append a 0 after the last unit of time in the field, you see 0
before this unit if it does not have a value. For example, YMD0 could
show 1 year 4 months 0 days.
|
| Data labels |
Select the label position on the chart:
- Hidden: No data label appears.
- Inside: The data label appears inside the visualization
element. For example, inside bars for bar charts, inside sectors for pie
charts...
- Outside: The data label appears outside of the visualization
element. For example, on top of columns for column charts.
|
| Data label values |
Select how to show measure values in labels. It can be a numerical value,
a percentage, or both.
|
| Data label values in tooltip |
Select how to show measure values in tooltips. It can be a numerical
value, a percentage, or both.
|
| Customize label |
Select this option to define how to show measure values in the legend.
Label items: Select and configure the various items that
you want to show in the legend label. For example, the measure name, followed by an
hyphen, followed by a breakdown name, to get: <measure name> - <breakdown
name>
If the Item type is Measure or
dimension: Select the value to show in the label item. For example, it can
be the dimension name.
If the Item type is Text
or variable value: Select the type of value to use in the label that is
static text, translatable text, or a variable.
|
| Customize tooltip |
Select this option to define the tooltip that displays when you hover over values in the legend.
Note:
The options are similar to the Customize label options.
|
Define the Value Colors
You can define the colors to apply depending on the values of a selected field.
- In the Properties panel, go to Data.
-
In the Colors section, select the colors to apply to the
field values.
| Option | Description |
|---|
| Type | Select how you want to configure the color mapping that is By dimension or
By measure. |
|---|
| Mapping |
Specify how to map field values with colors:
- Manual: To select one or more colors manually.
This is the default color mode associated with all field values.
To
specify several colors, select
Customize.
- Global Palette: To use the global color palette
that is common to all visualizations. It associates field values with
colors automatically.
To override the automatic color mapping, select
Customize.
Note:
There is a limit in the number of colors available. Data Perspective Studio reuses the same colors when the number of values crosses this limit.
|
| Customize |
Use this option to search for values and customize their colors. There is a limit to this customization, which blocks the option when there are more than 100 values.
|
|---|
| Additional mapping |
Use this option to define conditions to apply colors. To do so, define a
Comparator and an associated
Value. If values comply with the condition
defined with the comparator, the visualization applies the color.
For example, you can define to associate a color when the value is inferior
(<) to the expected value.
matches: Uses this property to specify a regular
expression to choose the color or the icon to apply, depending on the value
for the selected field.
|
| Splitting strategy | If the Type is By measure, you can use this option to split the color scale into intervals. There are 2 splitting strategies: Gradient: Split the color scale into N gradient colors. Discrete: Split the color scale into N discrete intermediate colors. |
|---|
Note:
There are priorities if you define several colors for the same field value. Manual customizations first, then colors defined for additional mapping, and at last, the default color.
Reduce the Scope of Dimensions with Local Filters
For a visualization that displays data for a dimension (for example, in a chart axis), it
can be useful to focus on specific values for that dimension. You can do so
using a local (internal) filter.
For example, if you have a priority dimension that contains Very
Minor, Minor,
Major, and
Critical priorities, you may want
to display values for the Major
and Critical priorities only.
-
In the Properties panel, go to
Data.
-
In the Local Filters section, specify the
Dimensions for which you want to filter data out as
follows:
-
From Field, select the dimension on which you want to
apply the filtering.
-
From Filtering mode, select
Include or Exclude.
-
From Values, select the set of values to include or
exclude from the dimension.
For example, for the Status dimension, you can
exclude
NULL values.

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.
-
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 Hide breadcrumb, if you want to hide breadcrumb navigation in the visualization.
- 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.
Configure the Legend
Several options let you configure the display of the chart legend. You can choose
to show or hide the legend, define the position of the legend manually, and also choose to
override this position automatically for a responsive design.
-
In the Properties panel, go to Display.
- Optional:
In the Legend section, select Hide
legend to hide the chart legend to the users.
This also hides the Show Legend option in the
Actions menu for users.
-
For Position, select how to show the legend on the chart.
If you select Top, Bottom,
Left, or Right, the
Responsive legend position overrides the legend position
automatically for responsive design. This is the default behavior.
If you select Floating, you can define a floating position
with the following options:
| Option |
Description |
| Horizontal alignment and Vertical
alignment |
Align the legend horizontally and vertically.
|
| Horizontal offset |
Specifies the legend offset relative to its horizontal alignment.
Negative values move the legend to the left, positive values move it to
the right.
|
| Vertical offset |
Specifies the legend offset relative to its vertical alignment. Negative
values move the legend up, positive values move it down.
|
| Layout |
Choose a vertical (in column) or horizontal (in a row) layout for the
items listed in the legend. |
-
For On legend click, define the legend and chart behavior
when you click a legend entry.
- If you select Show series, clicking a legend entry
shows the corresponding chart series only (you no longer see the other series). The
legend grays out the other entries so that you can click them to refresh the view
and see more series.
- If you select Hide series, clicking a legend entry
hides this series from the chart. The legend grays out the hidden entry and you can
reclick it to make it visible again.
Result:
This example shows a pie chart for which the selected legend
Position is Top.
By default the legend appears at the top.

If the visualization width is below 400px and the app height
is above 400px, the legend shows at the bottom of the chart. The responsive design
overrides the Top position.

If the visualization height is below 400px, the legend shows at the right of the chart.
The responsive design overrides the Top position.

Show the Chart Areas with Equal Size
When using a pyramid or funnel chart to represent the different steps of a process, you
might want the different areas (process steps) to
have the same size, and not be proportional to the
number of elements.
For example, when visualizing risk criticality, the most important information is on the few
"high" risks on the top of the pyramid. On the other hand, the base of the
pyramid (low risk) has a bigger size while it is not really relevant.
-
In the Properties panel, go to Style.
-
Select Fixed sized area. This is the default option.
Result: Example with a Pyramid chart:

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.
Add Effects On Chart Click
You can add effects when users click visualization elements.
-
In the Properties panel, go to
Actions.
-
Click to add a new
effect.
-
Select the effect Behavior.
| Option | Description |
|---|
| Filter |
Filters page data with the content dropped on the page. Information
source: Specify the field to filter data. Filter
scope: Select a filter scope defined in . By default, the general scope is selected to filter all visualizations,
even if you have not defined a specific filter scope. |
| Set variable |
Specify the variable that stores the data.
Target studio variable: Select the data query variable where Data Perspective Studio stores source data.
|
| Toggle variable |
With this option, when you click a selected item, it clears it. |
| Navigate to |
You can choose between the following modes:
-
Page (default mode): Select the destination page
to open when you click an object. The target is the destination page
where the user goes after clicking an object. For example, for a
visualization showing risks, clicking a risk could redirect the user to
a details page.
-
Static URL: Enter the link to the target page.
Links open a new browser tab and there is no limitation on the URL (for
example, it can be an external link to a PDF file).
-
String variable: Select a string variable
containing the URL to open. You define the URL in the Initial
value field of the variable, for example,
www.example.com.
|
| Color washing |
Applies color washing on a related Target viewer, which can
be a 3D viewer or a Geospatial viewer when
you click the chart. 3D viewer (ENOVIA
apps
such as 3D Navigate, or 3D Compose) configuration:
- For Information type, select:
- Reference ID: It is useful to identify one or several
occurrences of a part in the loaded structure. However, you cannot differentiate
specific occurrences of the same part. To use this option, also select the
Reference ID Source. To use this option, also select the
Reference ID Source.
- Occurrence Path: It is useful when your 3D model uses the
same part several times, as it allows you to identify the specific occurrences of
the part in the loaded structure. For example, for a car, you can have 4 wheels,
but you want to identify precisely each of the wheels. To use this option, also
select the Occurrence Path Source.
- Optional:
The Enable cumulative mode option
(selected by default) creates a dedicated layer in the 3D app for
each click you make on the chart categories.
Note:
If the 3D app
already contains layers, the cumulative mode merges the new layer with the previous
layer if it is for the same action.
Color washing
with cumulative mode (example with Pie chart)

- Optional:
The Enable transparency option enables
transparency for all the 3D parts in an assembly that do not have associated colors in
the chart.
Geospatial viewer (for an Cities and Territories
app like
Geospatial 3DPlay or Geospatial Design) configuration:
- For Identifier source, select an attribute containing the
identifiers of the items to colorize.
- For Dataset, select the dataset to colorize in the geospatial viewers.
- Optional:
Select Enable transparency to enable
transparency for all the items in a dataset that do not have a color.
Once configured, Data Viewers
(AEP) can switch on and off the color washing applied to the Target
viewer by clicking the color washing action. |
| Pinpoint in 3D |
You can display Points of Interest (POI) in apps having
3D capabilities (ENOVIA
apps such
as 3D Navigate, or 3D Compose) based on items returned by data queries.
- For Information type, select:
- Reference ID: To identify one or several occurrences of a
part in the loaded structure. However, you cannot differentiate specific
occurrences of the same part. To use this option, also select the
Reference ID Source.
Note:
To use this option, also
select the Reference ID Source.
- Occurrence Path: It is useful when your 3D model uses the
same part several times, as you can identify the specific occurrences of the part
in the loaded structure. For example, for a car, you can have 4 wheels, but you
want to identify precisely each of the wheels.
Note:
To use this option, also
select the Occurrence Path Source.
- Optionally, select a field containing the Local position
coordinates of the POI. By default, the POIs display on the center of gravity of their associated 3D part.
In some cases, multiple layers of POIs are
projected at once. If the same part has multiple POIs, only one of them is visible.
The others stay hidden behind the first POI, even when changing the point of view.
The goal of this option is to provide a local position for each POI by defining a
Semantic Graph Index field. The values in this field must be arrays of 16 floats: the local position
matrix (4 x 4).
- The Enable cumulative mode option (selected by default)
creates a dedicated layer in the 3D app for
each click you make on the chart categories.
Note:
If the 3D app
already contains layers, the cumulative mode merges the new layer with the previous
layer if it is for the same action.
- For Points of Interest, indicate the Identifier
source, that is the field to use as URI/physicalid.
- Optionally, add Graphic layers. A layer represents a group of
pins.
You can specify the Name, the
Color, and the Icon (by default a
pinpoint icon) to associate with the layer. The 3D app
Graphical Properties panel displays this layer accordingly.
Note:
When similar Points of Interest are very close to
one another on the product structure, the UI displays a single pinpoint with the
number of occurrences of the part.

|
| Send message to other apps |
This effect allows the Data Perspective to send messages to a target web app.
In the visualization, configure a Send message to other
apps on-click effect:
- For Topic, specify the topic that allows the Data Perspective and the target web app to communicate with one another.
- For Payload, define the attributes that you want
to send to the target web app.
Note:
If you have implemented the WidgetLink feature instead of
using the Publish and Subscribe Protocol, select
Use Widget Link system. For Widget
Link feature, specify the name of the feature in the target
web app in which the
Link with Widgets option is activated.
|
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.
|