MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ x_ticks() [2/2]

Series & MayaFlux::Portal::Forma::Plot::Series::x_ticks ( uint32_t  count,
TickEdge  edge = TickEdge::Bottom,
uint8_t  decimal_places = 2,
glm::vec4  color = { 0.65F, 0.65F, 0.65F, 1.F } 
)
inline

Request X-axis tick labels.

The effective range is resolved from X mappings at done() time unless range is supplied.

Definition at line 325 of file SeriesBuilder.hpp.

329 { 0.65F, 0.65F, 0.65F, 1.F })
330 {
331 m_ticks.push_back(TickRequest {
332 .axis = TickAxis::X,
333 .range = std::nullopt,
334 .count = count,
335 .edge = edge,
336 .color = color,
337 .decimal_places = decimal_places,
338 .name_prefix = "x_tick",
339 });
340 return *this;
341 }
size_t count
Series & color(std::initializer_list< glm::vec3 > colors)
Append colors to the global palette.
std::vector< TickRequest > m_ticks