Rerun C++ SDK
|
Archetype: Define the style properties for a line series in a chart. More...
#include <rerun/archetypes/series_line.hpp>
Public Types | |
using | IndicatorComponent = rerun::components::IndicatorComponent< IndicatorComponentName > |
Indicator component, used to identify the archetype when converting to a list of components. | |
Public Member Functions | |
SeriesLine (SeriesLine &&other)=default | |
SeriesLine | with_color (rerun::components::Color _color) && |
Color for the corresponding series. | |
SeriesLine | with_width (rerun::components::StrokeWidth _width) && |
Stroke width for the corresponding series. | |
SeriesLine | with_name (rerun::components::Name _name) && |
Display name of the series. | |
SeriesLine | with_aggregation_policy (rerun::components::AggregationPolicy _aggregation_policy) && |
Configures the zoom-dependent scalar aggregation. | |
Public Attributes | |
std::optional< rerun::components::Color > | color |
Color for the corresponding series. | |
std::optional< rerun::components::StrokeWidth > | width |
Stroke width for the corresponding series. | |
std::optional< rerun::components::Name > | name |
Display name of the series. | |
std::optional< rerun::components::AggregationPolicy > | aggregation_policy |
Configures the zoom-dependent scalar aggregation. | |
Static Public Attributes | |
static constexpr const char | IndicatorComponentName [] |
Archetype: Define the style properties for a line series in a chart.
This archetype only provides styling information and should be logged as static when possible. The underlying data needs to be logged to the same entity-path using archetypes::Scalar
.
|
inline |
Display name of the series.
Used in the legend.
|
inline |
Configures the zoom-dependent scalar aggregation.
This is done only if steps on the X axis go below a single pixel, i.e. a single pixel covers more than one tick worth of data. It can greatly improve performance (and readability) in such situations as it prevents overdraw.
std::optional<rerun::components::Name> rerun::archetypes::SeriesLine::name |
Display name of the series.
Used in the legend.
std::optional<rerun::components::AggregationPolicy> rerun::archetypes::SeriesLine::aggregation_policy |
Configures the zoom-dependent scalar aggregation.
This is done only if steps on the X axis go below a single pixel, i.e. a single pixel covers more than one tick worth of data. It can greatly improve performance (and readability) in such situations as it prevents overdraw.
|
staticconstexpr |