Skip to main content

PlottingSVG::ScalebarTimeRange

PlottingSVG::ScalebarTimeRange

Visible time window used to map “full canvas width” ↔︎ elapsed time for the scalebar. More…

#include <SVGExport.hpp>

Public Attributes

Name
float start
float end

Detailed Description

struct PlottingSVG::ScalebarTimeRange;

Visible time window used to map “full canvas width” ↔︎ elapsed time for the scalebar.

Passed to [SVGScalebar](/api_generated/Classes/classPlottingSVG_1_1SVGScalebar.md); bar pixel length is scalebar_length * (canvas_width / ([end](/api_generated/Classes/structPlottingSVG_1_1ScalebarTimeRange.md#variable-end) - [start](/api_generated/Classes/structPlottingSVG_1_1ScalebarTimeRange.md#variable-start))) when render() emits geometry.

Public Attributes Documentation

variable start

float start {};

variable end

float end {};

Updated on 2026-11-13 at 20:25:41 +0000