From: Ben Pfaff Date: Sat, 16 May 2026 15:46:37 +0000 (-0700) Subject: work on graph5 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b16f7a8bf4b56047cc274342303d726af8e0ad02;p=pspp work on graph5 --- diff --git a/rust/pspp/src/spv/read/graph.rs b/rust/pspp/src/spv/read/graph.rs index e051e15fb4..20b6bbd3f9 100644 --- a/rust/pspp/src/spv/read/graph.rs +++ b/rust/pspp/src/spv/read/graph.rs @@ -512,7 +512,7 @@ impl Visualization { axis_domains[axis] = AxisDomain { domain, formatter: formatter.unwrap_or_else(|| Formatter::default_for_locale(locale)), - label: axis2.and_then(|axis| axis.label.as_ref()), + label: dbg!(axis2.and_then(|axis| axis.label.as_ref())), major_ticks: axis2.and_then(|axis| axis.major_ticks.as_ref()), }; } diff --git a/rust/pspp/src/spv/testdata/graph5.expected.svg b/rust/pspp/src/spv/testdata/graph5.expected.svg index f4b742d42d..b2f09320dc 100644 --- a/rust/pspp/src/spv/testdata/graph5.expected.svg +++ b/rust/pspp/src/spv/testdata/graph5.expected.svg @@ -10,7 +10,7 @@ -Value of Variable 4 +Variable 4 @@ -22,7 +22,7 @@ Value of Variable 4 -Value of Variable 4 +Variable 4 @@ -54,7 +54,7 @@ Value of Variable 4 6 -4 +V12-4 @@ -86,7 +86,7 @@ Value of Variable 4 6 -5 +V12-5 @@ -118,7 +118,7 @@ Value of Variable 4 6 -7 +V12-7 @@ -150,7 +150,7 @@ Value of Variable 4 6 -6 +V12-6 Frequency diff --git a/rust/pspp/src/spv/testdata/graph5.xml b/rust/pspp/src/spv/testdata/graph5.xml index b3123bf6e9..4f06ca6e33 100644 --- a/rust/pspp/src/spv/testdata/graph5.xml +++ b/rust/pspp/src/spv/testdata/graph5.xml @@ -26,11 +26,18 @@ - - + + + + + + + + + + - @@ -41,7 +48,7 @@ @@ -65,7 +72,7 @@