Skip to main content

Graph

Bar Graph

Creates a bar graph based on a provided list of numeric values, with configurable bar width, height, spacing between bars, and color for each value. This behavior is available for 2D scenes only.

Common Properties

Property Name Type Description
TemplateNode


BarWidth FeatStd::UInt16 Width of each bar.
BarHeight FeatStd::UInt16 Height of each bar.
SpaceWidth FeatStd::UInt16 Width of space between each bar.
Color Candera::Color Color of bars.
Value List Courier::ListPropertyType< FeatStd::Float > List of values.

Line Graph

Draws a 2D line using a list of values with a specified width and color. Displays the result in the scene. Can be attached to a group node. This behavior is available for 2D scenes only.

Common Properties

Property Name Type Description
Values Courier::ListPropertyType< Candera::Vector2 > List of values which will create the graph.
MinX FeatStd::Optional<FeatStd::Float> The minimal X value restricts the graph's X value range and creates its lower bounds.
MaxX FeatStd::Optional<FeatStd::Float> The maximal X value restricts the graph's X value range and creates its upper bounds.
MinY FeatStd::Optional<FeatStd::Float> The minimal Y value restricts the graph's Y value range and creates its lower bounds.
MaxY FeatStd::Optional<FeatStd::Float> The maximal Y value restricts the graph's Y value range and creates its upper bounds.
Line Width FeatStd::Float The line width defines the thickness of the line.
Interpolation GraphInterpolationType::Enum Defines the interpolation type of the line chart.
Interpolation Steps FeatStd::UInt16 Defines the amount of interpolation points between each value. This increase the spline resolution by the cost of performance and memory.
Color of line Candera::Color Color of line.