Skip to main content

Graph

Contents List

    Bar Graph Line Graph

    Bar Graph

    Description

    Displays a list of values as a Bar GraphGraph.

    This behavior is available for 2D scenes only.

    Common Properties

    Property Name Type Description
    Value ListTemplateNode
    Courier::ListPropertyType< FeatStd::Float >
    List of values.
    Bar WidthBarWidth FeatStd::UInt16 Width of each bar.
    Bar HeightBarHeight FeatStd::UInt16 Height of each bar.
    Space WidthSpaceWidth FeatStd::UInt16 Width of space between each bar.
    Color Candera::Color Color of bars.
    Value List Courier::ListPropertyType< FeatStd::Float > List of values.

    Back to the menu

    Line Graph

    Description

    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.

    Back to the menu