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

◆ ticks()

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

Request tick labels on an arbitrary edge with an explicit range.

Definition at line 412 of file SeriesBuilder.hpp.

417 { 0.65F, 0.65F, 0.65F, 1.F })
418 {
419 m_ticks.push_back(TickRequest {
420 .axis = TickAxis::Explicit,
421 .range = std::move(range),
422 .count = count,
423 .edge = edge,
424 .color = color,
425 .decimal_places = decimal_places,
426 .name_prefix = "tick",
427 });
428 return *this;
429 }
size_t count
Series & color(std::initializer_list< glm::vec3 > colors)
Append colors to the global palette.
std::vector< TickRequest > m_ticks