Chart layout
A sheet in MathJet can hold many charts arranged in a grid layout, in floating positions, or pinned inside spreadsheets. This page covers the basic chart arrangement operations and the advanced grid layout editor for cell-level control.
Basic operations
Section titled “Basic operations”Adding charts
Section titled “Adding charts”- Add Subplot — places a new chart in the next available cell of the layout grid.
- Add Floating Chart — places a new chart anywhere on the sheet, not bound to a layout cell. Resize and move it freely.
You can drag and drop graphs across charts (subplot or floating), and close any chart with its dynamically displayed close button.
Maximize and restore
Section titled “Maximize and restore”Each subplot and floating chart has dynamically displayed buttons for maximize and restore. Useful for closely inspecting or modifying a single chart while keeping the overall layout organized.
Charts in spreadsheets: pinning and split views
Section titled “Charts in spreadsheets: pinning and split views”By default, a chart embedded in a spreadsheet scrolls with the cells behind it. To keep a chart visible while scrolling through cells — particularly useful for aligning chart data points with their underlying cell ranges — pin the chart.
Alternatively, create a split view of the spreadsheet: double-click or drag the button at the bottom-right corner of the sheet upward. All charts in the spreadsheet move into the lower half automatically. Double-click the button again or drag it back to the bottom to restore the original single-panel view.
Moving charts between sheets
Section titled “Moving charts between sheets”To move a chart to a different sheet, click Plot → Move Chart or the corresponding tool button. The dialog offers several destinations:
- A new figure tab or window
- A new subplot in another existing sheet
- A new floating chart in another existing sheet
Advanced grid layout
Section titled “Advanced grid layout”For cell-level control over the layout grid — changing row/column counts, adjusting cell sizes, merging cells, distributing graphs across cells — MathJet provides a dynamic layout utility and a dedicated layout editing mode.
Adjusting the grid
Section titled “Adjusting the grid”The layout utility pane shows a grid where each small rectangle represents a potential cell:
- Gray — available position based on current row and column settings.
- Blue — cell occupied by a chart.
- White — inactive under the present layout configuration.
Move the mouse within the grid to change the row and column count — both auto-align with the cursor’s row and column index. To grow the grid further, hover over the expand symbol at the bottom-right corner; the grid expands until you move away. For exact values, type the desired numbers into the text fields at the top and click OK. Click inside the pane to commit the layout, click outside to cancel.
Layout editing mode
Section titled “Layout editing mode”Enable the dedicated layout editing mode via View → Document View Mode or the corresponding tool button in the status bar. Inside this mode:
- Adjust row and column sizes. Drag the borders of any row or column to change its width or height.
- Reposition a chart. Click and hold the left mouse button on a chart and drag it. If the chart was docked, a blue semi-transparent rectangle appears (and disappears as you start dragging). While moving, a dock symbol with a numeric cell index appears under the cursor — release the mouse over the symbol to dock the chart at that cell, or release elsewhere to leave it floating. Cells are indexed column-first, linearly. If the destination cell is occupied, you’ll be prompted to merge with or replace the existing chart.
- Span multiple cells with one chart. Select the cells (click top-left and bottom-right while holding Shift, or pick cells individually with Ctrl). Then click Plot → Merge Chart or the tool button. Merging is only possible if the selected cells form a complete rectangle. If multiple charts are in the selected cells, all graphs are incorporated into a single merged chart.
- Distribute graphs across cells. Select target cells, then click Plot → Distribute Graphs or the tool button. Graphs are evenly distributed across the selection; any blank selected cells become new charts.
When you’re done editing, click the same status-bar button to switch back to normal mode.
See also
Section titled “See also”- Chart and axis splitting — automatic restructuring of a multi-graph chart into stacked sub-charts or overlay axes.
- Annotation — for docking legends, color bars, and shape annotations within an individual chart.