fn paint_axis_names( ui: &Ui, painter: &Painter, rect: Rect, font_id: FontId, dimension_labels: [Option<(String, bool)>; 2], )