Common Plot Chart Families
The following palette entries provide configurable, preset-based Plot charts: Bar & Rectangular Marks, Line & Area, Points & Text, Rules & Ticks, Network & Flow Marks, Density & Contour Plots, and Geometric Marks.
Purpose
Use these components to create browser-rendered charts from data supplied through Perspective properties and bindings.
Typical Usage
-
Add a preset from the
Ultra Chartspalette category. -
Bind the public
dataproperty to a value available in the Perspective view. -
Configure the public chart properties, such as marks, scales, layout, and styling.
-
Preview the result and save the Perspective project.
Data Guidance
For simple charts, use row-oriented data with field names that match the configured marks. A safe example is:
{
"data": [
{"category": "A", "value": 12},
{"category": "B", "value": 19}
],
"marks": [
{"type": "barY", "options": {"x": "category", "y": "value"}}
]
}
Treat presets as starting points. Test any advanced options in the target project before standardizing them across operational views.
Events
The Plot chart families expose onSelect and onBrush events. Configure handlers in the Perspective event editor. Event results depend on the selected chart configuration, data shape, and enabled interaction.
Sankey Chart
Purpose
Use Sankey chart to display named nodes and quantified links between them.
Typical Usage
-
Add
Sankey chartto a Perspective view. -
Bind data containing node and link collections.
-
Ensure node names are unique and each link references valid nodes with a numeric value.
-
Configure alignment, appearance, and optional click or drag behavior.
Important Properties
The public properties include the data, node alignment, node and link styling, click enablement, and optional node dragging. Clicks can raise onNodeClick and onLinkClick events when enabled.
Behavior
Node dragging changes the current rendered layout only. It is not a confirmed persistence mechanism for the chart data or project configuration.
Expert-mode
Purpose
Use Expert-mode when a trusted project developer needs a custom D3 visualization that is not covered by the included components and presets.
Typical Usage
-
Add
Expert-modeto a Perspective view. -
Bind the public
dataproperty. -
Set the public chart-code property to tested project-authored JavaScript that produces the intended browser visual.
-
Preview the view and correct browser-reported errors before deployment.
Important Properties
The public configuration consists primarily of the chart data, chart code, and standard Perspective styling.
Behavior
Expert-mode code runs in the Perspective browser context. It is intended only for trusted, controlled project content and is not an operator-facing chart authoring tool.