MayaFlux 1.0.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 324 of file SeriesBuilder.hpp.

328 { 0.65F, 0.65F, 0.65F, 1.F })
329 {
330 m_ticks.push_back(TickRequest {
331 .axis = TickAxis::X,
332 .range = std::nullopt,
333 .count = count,
334 .edge = edge,
335 .color = color,
336 .decimal_places = decimal_places,
337 .name_prefix = "x_tick",
338 });
339 return *this;
340 }
glm::vec3 color
Definition Decoder.cpp:97
size_t count
std::vector< TickRequest > m_ticks