Skip to content
Sheetwrite

Releases

Sheetwrite 0.7.4

Charts that split and place a selection as Excel does, a name box that takes unions and works with names, presence flags that keep off cell text, Format Cells colour pickers inside the dialog, dashboard slicers that show every value, PIVOTBY and GROUPBY blanks, and the upgrade checklist for Sheetwrite 0.7.4.

Edit on GitHubReport a problem

On this page
npm install @sheetwrite/core@0.7.4
Update each adapter and add-on you use to 0.7.4 too: all packages release together.

Sheetwrite 0.7.4 brings more of Excel's behaviour to charts, the name box and the dialogs, and fixes dashboard slicers and grid details found after 0.7.3. It has no API changes. Two behaviours change to match Excel: how Insert › Chart splits a selection, and what the name box does with a new name. The upgrade checklist lists both. All ten packages release as 0.7.4.

Sheetwrite 0.7.4 at a glanceCharts: Categories. Leading date or text columns label the categories Name box: Names. Go to and define names, Excel's invalid-reference alert Format Cells: Inside. Colour pickers open under the Color box, in the dialog Slicers: Every value. Values beside Clear, no row cut offChartsCategoriesLeading date or text columnslabel the categoriesName boxNamesGo to and define names,Excel's invalid-reference alertFormat CellsInsideColour pickers open underthe Color box, in the dialogSlicersEvery valueValues beside Clear,no row cut off
Sheetwrite 0.7.4 at a glanceCharts: Categories. Leading date or text columns label the categories Name box: Names. Go to and define names, Excel's invalid-reference alert Format Cells: Inside. Colour pickers open under the Color box, in the dialog Slicers: Every value. Values beside Clear, no row cut offChartsCategoriesLeading date or text columnslabel the categoriesName boxNamesGo to and define names,Excel's invalid-reference alertFormat CellsInsideColour pickers open underthe Color box, in the dialogSlicersEvery valueValues beside Clear,no row cut off

Highlights

  • Charts from the selection as Excel makes them. A leading date or text column gives the categories, each numeric column is a series named by its header, and a multi-range selection charts every range. A new chart lands in view and shrinks to fit a phone.
  • The name box works with names and unions. It goes to defined names and tables, defines a new name, selects unions such as A1:A12,E1:E12, shows the name of a selected range, and says "Reference isn't valid." for text it can't use.
  • Presence off cell text. A collaborator's selection carries a small flag on its border and shows their name on hover or when they move.
  • Colour pickers inside Format Cells. The Font and Border pickers open under the Color box and no longer cover the title and tabs.
  • Dashboard slicers show every value. Values sit beside Clear and wrap beneath it, and no row is cut off.
  • Excel's blanks in PIVOTBY and GROUPBY. Cells with no label are empty instead of 0.

Changes

Charts

Insert › Chart splits the selection as Excel does:

  • Leading columns of dates or text give the categories, one level each. Each numeric column is a series named by its header, so a Date column no longer becomes Series 1.
  • A blank top-left cell makes the first row and the first column labels. Use it to make numbers, such as years, labels.
  • When there are more rows of values than columns, each column is a series. Otherwise, each row is a series, as in Excel. A square range therefore plots one series per row.
  • A multi-range selection charts every range, as Excel does. Ranges with the same rows are one table, their columns in selection order: selecting Date, Units and Revenue apart gives Date as the categories and Units and Revenue as two series. Ranges with the same columns join by rows, and ranges that don't line up give their series one after another. Before, only the first range was charted.

A new chart always shows where it is inserted: beside the selection when it fits there in view, otherwise inside the cells in view, clear of the active cell where it can. It stays inside the browser window when the grid runs past it, and clear of the docked Chart panel, so its legend and right edge stay in sight. Where the cells in view are smaller than the chart, as on a phone, it shrinks to fit at the same proportions, down to 160 px wide. Charts now sit above the cells, the selection, highlights and the copy marquee, as in Excel; the cell editor, the fill tip, Auto Fill Options and input messages still show above charts.

The Chart panel shows the same split. On a desktop it docks beside the grid when you insert a chart. On a phone, where a panel covers the grid, the new chart shows, selected, instead of opening under the panel; Edit chart in its menu opens the panel. See Insert and edit in the grid.

Name box

The name box works with names as Excel's does:

  • A defined name selects the range it refers to, and a table name selects the table's data rows.
  • A new valid name is defined for the selection, as one undo step.
  • A union of references, such as A1:A12,E1:E12,G1:G12, selects each range as one multi-range selection whose first cell is the active cell. On a phone, this is how to select several ranges.
  • When the selection is exactly a defined name's range, the name box shows the name in place of the address, preferring a name scoped to the sheet.
  • With a mouse, the name box is wide enough for a name of about 11 characters, as Excel's is. A longer name ends in an ellipsis and shows whole in its tooltip.
  • Text it can't use shows Excel's "Reference isn't valid." in an alert that screen readers announce. After OK, the name box keeps your text, selected, so you can correct it.

The Keyboard shortcuts panel shows "No command matches…" centred where the table would be, instead of at the top of an empty panel. See Defined-name formulas and Name Manager.

Format Cells and Data Validation

  • The Font and Border colour pickers open under the Color box, inside the dialog, and the dialog scrolls to show them. They no longer cover the title and tabs. On a phone the palette sits in the dialog under the Color box.
  • More Colors…'s colour box is a whole 44 px touch target on a touch screen.
  • Fill shows its Sample beside the palette, so every tab shares a shorter height.
  • Data Validation spaces its rows as Format Cells does.

See the Format Cells dialog.

Dashboards

Slicers keep their values on Clear's line and wrap them beneath it, and a slicer grows to fit its values, so no value is cut off in a narrow slicer or on a phone. Dashboard item and panel menus use the same chevron as the ribbon and menus instead of a solid ▾. See Slicers.

Formulas

PIVOTBY and GROUPBY leave a cell empty, as Excel does, where their result holds no label: the corner above the row labels when there are no field headers, and the lower-level labels of a total row. They showed 0 before. See Summarize: GROUPBY, PIVOTBY, PERCENTOF.

Grid

  • As in Excel, no gridline is drawn through text that spills into the empty cells beside it, so a long label reads as one run.
  • A collaborator's selection no longer covers cell text. As in Excel, it carries a small flag in their colour at the right end of its top border, never over the column headers. The flag shows their full name for two seconds when they arrive or move, when your active cell enters their selection, and while the mouse points at their cells. See Presence.
  • When the sheet tabs overflow, no sliver of an inactive tab shows beside the leading scroll arrow. An active tab wider than the strip still shows its end and its ⋯ button.

Docs

The dashboard and report screenshots are recaptured for this release. On the showcases, Edit Links and PivotTable Fields can be reached on the functions showcase, and the spreadsheet showcase draws charts.

Upgrade checklist

  1. EveryoneRequired

    Update every package together

    Install 0.7.4 for each @sheetwrite/* package that you use. Packages from different versions are not supported together. There are no API changes.

    corewasmformulasformula-assistqueriesxlsxchartsreactvuesvelte

  2. If users insert charts from the ribbonCheck

    Insert › Chart splits the selection as Excel does

    Leading text or date columns become the categories instead of a series, and each numeric column is a series named by its header. A range with as many columns as rows of values, or more, now plots one series per row. A multi-range selection charts every range instead of only the first, and a new chart is placed in view. If your tests or guides expect the old split, update them.

  3. If users type in the name boxCheck

    The name box defines names

    Typing a new valid name in the name box now defines it for the selection, as in Excel, as one undo step. Text that is neither an address nor a valid name shows "Reference isn't valid."

  4. If you set the deprecated tab variablesPlan

    Move off the three tab variables before 0.8.0

    --sheetwrite-tab-font, --sheetwrite-tab-hover-bg and --sheetwrite-tab-active-bg still work in 0.7.4 and are removed in 0.8.0. See the 0.7.2 deprecations.

  5. If you upgrade from 0.7.2 or earlierAlso do

    Complete the earlier steps first

    Read the 0.7.3 and 0.7.2 checklists, and from 0.6.x the 0.7.0 upgrade guide.