Skip to main content

Graph

Bar Graph

Displays a list of values as a Bar Graph.

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

The line graph behavior is used to draw a 2D line defined by a list of Vector2 elements.

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.