Skip to content

Commit 6cbe669

Browse files
committed
Reduce y-label x-offset to keep it on the page
1 parent d61b26d commit 6cbe669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/svg_render.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ pub fn draw_y_axis(a: &axis::ContinuousAxis, face_height: f64) -> node::element:
110110
labels.append(tick_label);
111111
}
112112

113-
const X_OFFSET: i32 = - 50;
113+
const X_OFFSET: i32 = -30;
114114
let y_label_offset = -(face_height / 2.);
115115
let y_label_font_size = 12;
116116
let label = node::element::Text::new()

0 commit comments

Comments
 (0)