MCPcopy Create free account
hub / github.com/alceal/plotlars / is_date_axis

Function is_date_axis

crates/plotlars-plotters/src/render/axis.rs:194–198  ·  view source on GitHub ↗
(axis: &Option<Axis>)

Source from the content-addressed store, hash-verified

192}
193
194pub(super) fn is_date_axis(axis: &Option<Axis>) -> bool {
195 axis.as_ref()
196 .and_then(|a| a.axis_type.as_ref())
197 .is_some_and(|t| matches!(t, AxisType::Date))
198}
199
200/// Collect unique x-string labels from scatter/line traces for category/date axes.
201pub(super) fn collect_string_x_labels(traces: &[TraceIR]) -> Vec<String> {

Callers 1

render_numericFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected