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

◆ x_ticks() [1/2]

Series & MayaFlux::Portal::Forma::Plot::Series::x_ticks ( AxisRange  range,
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 with an explicit display range.

Definition at line 346 of file SeriesBuilder.hpp.

351 { 0.65F, 0.65F, 0.65F, 1.F })
352 {
353 m_ticks.push_back(TickRequest {
354 .axis = TickAxis::X,
355 .range = std::move(range),
356 .count = count,
357 .edge = edge,
358 .color = color,
359 .decimal_places = decimal_places,
360 .name_prefix = "x_tick",
361 });
362 return *this;
363 }
size_t count
Series & color(std::initializer_list< glm::vec3 > colors)
Append colors to the global palette.
std::vector< TickRequest > m_ticks