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

◆ y_ticks() [2/2]

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

Request Y-axis tick labels.

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

Definition at line 369 of file SeriesBuilder.hpp.

373 { 0.65F, 0.65F, 0.65F, 1.F })
374 {
375 m_ticks.push_back(TickRequest {
376 .axis = TickAxis::Y,
377 .range = std::nullopt,
378 .count = count,
379 .edge = edge,
380 .color = color,
381 .decimal_places = decimal_places,
382 .name_prefix = "y_tick",
383 });
384 return *this;
385 }
size_t count
Series & color(std::initializer_list< glm::vec3 > colors)
Append colors to the global palette.
std::vector< TickRequest > m_ticks