- Guide
- Results & Reports
- Customize a chart
Customize a Chart
Use the chart editor to prepare every chart in a figure panel for publication, from the legend and the axes to the marks, the statistics, and the type sizes.
Opening the Editor
Click Edit on any chart panel in a figure. The sidebar is a series of steps, and which ones you get depends on the chart.
- Choose data connects a project sheet or takes rows you type in
- Chart type picks the plot and how repeated rows combine
- Axes & Labels covers titles, axis labels and their font sizes, scale, range, and axis ticks
- Clustering, on heatmaps only
- Comparisons, where error bars and significance tests apply
- Statistics, on scatter, violin, and dot strip charts, with a regression line, a correlation, the mean and median
- Markings adds reference lines, shaded bands, and callouts at values on the chart
- Appearance holds colors, the legend, and how the marks are drawn
Tip: There are around sixty controls in here, so use the search box above the steps. Type "gridlines" or "error" and it lists the matches grouped by step. It also shows when a control exists but doesn't apply to your chart type, and why.
The editor shows only the controls that can affect your chart, so a heatmap has no y-axis scale field.
In place of these steps, a plot drawn live from flow data offers the panel text plus a Plot section with the plot's own controls, scales and gate outlines included, described in Figures.
Chart Types
There are twelve types, Bar, Grouped, Proportion, Box plot, Histogram, Scatter, Violin, Dot plot, Line, Heatmap, Paired, and Waterfall.
Charts are created in three places. The Chart panel in Sheets and the results view of an image analysis both give you a quick preview with four controls. The figure editor, this page, is the only place appearance is edited. Charts produced by a flow or image analysis arrive with their own look already set, so their editor offers labels and layout and leaves out the palette.
Combine Replicates into One Mark
A category axis holds each label once. When several rows share an X value, such as three mice that all say SPF or three wells of the same dilution, they combine into a single mark, and Statistic in the Chart type step sets how.
- Mean is the default, and puts the mark at the average of the rows.
- Median puts the mark at the middle value. One contaminated well moves it far less than it moves the mean, so reach for it when a replicate ran well away from the others and you have reason to keep it in.
- Geometric mean suits values that span decades, like antibody titers, fold changes, and dilution series, where a mean sits close to the largest replicate. It needs every replicate above zero, so a category holding a zero or a negative value has no geometric mean, and that mark is left off the plot.
Error bars and individual points come from every row whichever statistic you pick, and the whisker centers on the mark that is drawn. A category with one row keeps that row's own number under all three.
The control appears on the chart types that combine rows this way, which are bar, grouped, line, proportion, waterfall, and heatmap. A box plot, violin, dot plot, histogram, or scatter reads every row on its own, so the field is not shown. A dot plot with more than 2,000 rows in a group draws 2,000 of them, spread evenly, and says so in its corner, as in Showing 2,000 of 100,000 points.
Place and Size the Legend
The Legend group in Appearance controls where the key sits and how big it is.
- Position puts the legend on the top, bottom, left, or right of the plot, or hides it
- Alignment slides it along that side. A top or bottom legend aligns left, center, or right. A side legend aligns top, middle, or bottom. A bottom legend set to Left hugs the lower-left corner, which is the convention many journals ask for.
- Size sets its font size. Leave it blank for automatic sizing, which scales the legend with the panel.
Tune the Axes
The Axes & Labels step has these settings.
- Chart title, which leaves the chart untitled if you leave it blank, and Panel subtitle beneath it
- Axis labels for each axis
- Axis label & tick size, the font sizes of the axis titles and of the numbers or category names along each axis
- Y-axis scale and X-axis scale, switching between Linear and Log₁₀
- On a line or scatter chart whose X column holds dates, such as
2026-10-01or a date with a time, the points sit by date and the X axis is labeled with dates, so runs two days apart sit closer than runs three weeks apart. A date axis spans the dates in the sheet, read in UTC - Y-axis range and X-axis range, with an explicit minimum and maximum so several panels can share one scale. Blank means automatic.
- Y-axis ticks and X-axis ticks, which take an approximate count and a format. The format is automatic, a fixed number of decimals, scientific notation, or Fraction as percent, which reads a value between 0 and 1 as a percentage
- X-axis labels, which keeps category names horizontal, angles them at 45°, turns them vertical, or wraps them onto several lines. An angled or vertical name too long for the space under the chart is shortened in the middle.
- Show gridlines, in the same scale and range group. Turn it off for a gridless chart.
Panel annotation is here too. It places a block of free text along an edge of the panel, such as Mean ± SEM on one line and Two-tailed Welch's t-test on the next.
Style the Marks
The Series group in Appearance changes with the chart type.
For line charts, set the line width, and a line style per series next to that series' color swatch, so solid, dashed, and dotted tell your series apart in grayscale print. Markers can be added to each point or left off.
For scatter, dot plots, and line charts, pick the marker shape and size.
For bar charts, Bar fill is Flat until you pick Gradient, which fades each bar lighter toward its base, and Show values on bars prints each bar's number above it. On a heatmap the same control reads Show values in cells.
Show Individual Data Points
A bar shows a mean, and two very different datasets can produce the same bar.
Turn on Show individual points and every bar, box, and violin gets its raw values scattered over it as small jittered dots, sized by their own control.
When several rows share a category (or your table has a group column), each bar combines those rows by your chosen statistic and draws a dot for each row. With one value per category you get one dot per bar.
The toggle is disabled on a chart with no raw values, which happens with pre-summarized analysis results. To turn it on, re-save the chart from its data.
Error Bars and Significance
The Comparisons step appears on chart types that support it.
Adding Error Bars
Error bars offers standard deviation, standard error, or a 95% confidence interval, and draws it as whiskers on every bar or line point. The spread comes from each point's replicates, so give a category one row per replicate. Three mice in the SPF condition are three rows that all say SPF. The bar combines them and the whisker is their spread. The 95% CI uses the t multiplier for your replicate count, which at n = 3 is more than twice as wide as the SEM.
With one value per category there is no spread to measure, so no whiskers are drawn and a note on the control gives the reason.
Adding Significance Brackets
A significance bracket joins two bars of a chart with one value column, or two boxes of a box plot, and tests each one's replicate rows. A bar chart with several value columns, or one split by a group column, puts more than one bar at each category and takes error bars only.
Statistical test picks one of four tests.
- Welch's t-test
- Mann-Whitney U
- A paired t-test
- Wilcoxon signed-rank
A paired test matches each row's value in one column with the same row's value in the other, and a row that is blank on either side is left out of the pair. On a bar chart, or on boxes split by an X column, it matches the rows in table order. With three or more bars or boxes you also get the tests that read every group at once.
| Test | What each bracket shows |
|---|---|
| ANOVA, Tukey's post-hoc | Tukey's HSD for the pair, already corrected for every pair of groups |
| ANOVA, Dunnett's against a control | Dunnett's test for each group against the control, already corrected for every group |
| Kruskal-Wallis, Dunn's post-hoc | Dunn's test for the pair, before the correction you pick |
| Pairwise Welch's t-tests (no post-hoc) | A Welch's t-test of the pair alone |
| Pairwise Mann-Whitney (no post-hoc) | A Mann-Whitney U test of the pair alone |
The first three print the ANOVA or Kruskal-Wallis result above the plot, such as One-way ANOVA: F(2, 12) = 7.14, p = 0.0091. Picking Dunnett's sets Compare to each group against a control. Tukey's and Dunnett's p-values already cover every comparison, so they take no correction.
Compare sets which pairs get a bracket.
- Pairs I choose brackets the ones you add under P-value brackets
- Every pair puts a bracket between each two bars or boxes
- Each group against a control tests every other group against the Control group you pick
A chart draws up to 105 brackets, which is every pair of 15 groups. When a choice makes more, P-value brackets shows how many pairs it makes and the chart draws none, so choose the pairs to compare instead.
Multiple comparison correction appears once there's more than one bracket, offering Bonferroni, Holm, Holm-Šidák, or Benjamini-Hochberg FDR. Reach for it whenever you run more than one pairwise test.
P-value brackets lists the brackets the chart draws. With Pairs I choose, pick two bars or boxes and click Add comparison, and the bracket appears above the marks.
Bracket label sets what each bracket prints, which is stars, the exact p-value, or both. Stars read like this.
| Label | P-value |
|---|---|
* | Below 0.05 |
** | Below 0.01 |
*** | Below 0.001 |
**** | Below 0.0001, once you check the box for a fourth star |
ns | Anything higher |
An exact p-value prints to two significant figures, such as p = 0.0031, or to three when two would round it up to the cutoff its stars mark, so a p of 0.0496 prints p = 0.0496 beside its star. Anything below 0.0001 prints as p < 0.0001. Point at a bracket to read its p-value.
Show n under each group prints how many replicate rows sit behind each bar or box, under its name on the axis.
Each side of a bracket needs two or more replicate rows, and a paired test needs two or more rows with a value on both sides (on a bar chart, or on boxes split by an X column, the same number of rows on both sides). A pair the test can't run on stays in the list with the reason under it, and its bracket appears once the data allows.
Fit a Line and Mark the Mean
The Statistics step appears on scatter, violin, and dot strip charts.
On a scatter, Regression line draws a least-squares line through each series, and prints its R² in a corner of the plot. Show equation adds the line's equation, and Show R² turns the R² off. Correlation prints Pearson's r or Spearman's ρ for each series, with its p-value, such as r = 0.9989, p < 0.0001. Spearman's ranks the values first, so it reads a relationship that rises steadily without being straight.
On a violin or dot strip, Mark the mean and Mark the median draw a line at each group's mean and median. A violin starts with its median marked and a box plot inside each violin, which Box plot inside each violin turns off. A dot strip starts with its mean marked, and Dot spread sets how far its dots scatter across their band.
Mark a Threshold, a Range, or a Point
The Markings step appears on every chart with a value axis. That is bar, box plot, scatter, line, violin, dot strip, histogram, and waterfall. Pick what to add under Add, fill in where it goes, and click Add to chart.
| Marking | Where it goes |
|---|---|
| Reference line | Across the plot at one value on the Y axis, such as a threshold at 50, or on the X axis |
| Shaded band | Between two values, such as a normal range |
| Callout | A short note pinned to one point, at its X and Y |
Markings sit at values, so they move with the axis when you change its scale or range. A value past the end of the axis is drawn at the edge with a small arrow pointing the way it lies.
The markings you've added are listed above Add. Click one to load it into the fields below, change what you need, and click Save changes, or Cancel to leave it as it was. Its × removes it, after asking.
On a chart whose X axis is a list of groups, an X position is a group's name, and a band can only run along Y. Each marking can have a label, and a line can be dashed, dotted, or solid. Click Remove beside one to take it off.
Heatmap Clustering
Heatmaps get their own step. Cluster rows and Cluster columns reorder the matrix so similar profiles sit together, and turning either on reveals two more choices, Linkage (average, which is UPGMA, complete, or single) and Distance (Euclidean or correlation).
Use correlation distance when the shape of a profile matters more than its magnitude, such as expression across conditions.
Set Type Sizes
Font sizes sit in the Axes & Labels step, next to the text they apply to. Title & subtitle size follows the panel subtitle, and Axis label & tick size follows the axis labels. The legend's size is in Appearance, with the rest of the legend.
Colors
The Colors group sets the palette for the whole chart. Pick Classic, Colorblind safe, Nature, Grayscale, or Vivid, with a swatch per series you can override. Picking a palette repaints every series, including ones you had set by hand.
A chart with a single series shows one Color row, and all its bars take that color.
On a scatter, setting a column to Group by colors the points by its values, with a swatch and a legend entry for each value and (none) for rows where it is blank. On a bar, line, or proportion chart, each Group by value is its own series with its own swatch.
Heatmaps get a Color scale choice. Pick Sequential for values running low to high in one direction, or Diverging for values centered on zero that go both ways. Waterfall and paired charts have no color controls. A waterfall draws its rises and falls in their own colors, and a paired plot draws a line per subject.
Tip: Colorblind safe stays readable for the roughly one reader in twelve with a color vision deficiency, and it stays readable when printed in grayscale, where the default palette does not.