chart perf tests: import LegendPos (legend module now imports it itself)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
vangel76
2026-11-05 01:53:24 +01:00
co-authored by Claude Sonnet 5.5
parent 0955378d8e
commit 23c909e477
+1
View File
@@ -7,6 +7,7 @@ use super::kinds::squarify;
use super::legend::swatch_w;
use super::*;
use crate::{ApproxMeasure, Measure};
use gridcraft_model::LegendPos;
/// The pre-rewrite `Ctx::fit`: one `Measure` call per candidate length, longest first.
fn fit_reference(ctx: &Ctx, s: &str, size: f32, maxw: f32) -> String {