Graphs in Depth · Part 1

Changing a Graph

Most of a graph can be changed where you see it, on the Graph tab: its title, its scales, its colours, and what each series plots. This guide covers where to click, what each window sets, and how to keep a change.

Saved or not

Changes you make to a graph on the Graph tab are not saved until you say so. This is deliberate: you can turn a graph on its side or change its measure for one job, without spoiling the graph you rely on.

ChangeKept
Anything set in the windows described belowUntil you close Spanner, unless you save the graph.
The legend's place
What the buttons along the bottom have swapped
Changes made in SettingsWhen you save the settings.

To save a graph: right-click its title, its panel, an axis or a series, and choose Save Graph. It is written to your settings at once.

Save Graph before you open Settings. The Settings window works from the saved graphs. When you save your settings, the saved graphs replace the ones on the Graph tab, and any change you had not saved is gone.
This guide is for Spanner 2.5.1.2 and later. Read Using Graphs first. A new graph is started in Settings: see Part 2.
The right-click menu on a graph's panel, with two items: Edit and Save Graph
The right-click menu on the panel.

Where to click

Each part of a graph has a small window of settings, opened by a double-click, and a right-click menu.

OnDouble-click opensRight-click offers
The title, or the panel behind the columnsThe graph's own settings.Edit, Save Graph
The X axis, below the panelThe X axis's settings.Edit, Save Graph
The Y axis, left of the panelThe Y axis's settings.Edit, Save Graph
A column, row, line or pointThat series' settings.Edit Series, any swaps the series has, Save Graph
The legendNothing.Hide Legend, Set Legend to Top, Left, Right or Bottom
  • A change takes effect when you leave its box. Press Tab, or click another box.
  • To close a window, click anywhere outside it.
  • A scale on the right has no window of its own. It is named after the series drawn against it.
The right-click menu on a point of a distribution graph. Edit Series, with the series' name, is first. Then come five Y Axis swaps, from the weighted value rate of sale to each other rate of sale, two X Axis swaps, from Weighted to Numeric and to Stores, and Save Graph
The right-click menu on a point of a distribution graph: Edit Series, the swaps this series has, and Save Graph.

The title and the panel

Double-click the title, or an empty part of the panel.

Graph TitleThe text above the graph. It can hold words that Spanner fills in, such as the selected planogram's name: see Part 2, Headers and titles.
Title Text Size, Graph Text Colour, Bold Title TextHow the title is written.
Graph Title MarginThe space around the title.
LegendHidden, or its place: Top, Left, Right or Bottom. This is how to bring back a legend you have hidden.
Panel ColourThe colour behind the columns. It can be see-through.
Panel Line Colour, Panel Line ThicknessThe frame round the panel. A thickness of 0 removes it.
Filter, Sort, Display CriteriaWhich columns or points are drawn, and in what order. These are typed as codes: see Part 2, Sort, Filter and Display Criteria.
The graph's settings window, open over the title of Selected vs Comparison Space. Graph Title holds words in square and angle brackets. Below it are Title Text Size 28, Graph Text Colour, Bold Title Text ticked, Legend set to Right, Panel Colour, Graph Title Margin 20, Panel Line Colour, Panel Line Thickness 0.5, Filter reading Product Filter NonZero, a Sort, and an empty Display Criteria
The settings of Selected vs Comparison Space. The title above it reads "Linear Space Comparison 1 Bay - Proposed vs 1 Bay (pre)": the words in brackets are filled in from the document.

The axes

Double-click an axis. The X and Y windows hold the same settings.

Axis Title, with its text size, colour and boldThe name written along the axis.
Axis Labels text size, colour and boldThe numbers or names along the axis.
Tick thickness and colourThe small marks at each label.
Grid thickness and colourThe lines across the panel from each label.
Axis thickness and colourThe axis line itself.
Axis Cross atWhere the axis line is drawn across the other scale: Zero, a number written as =50, or Min, Max, Ave or Sum of the values.
Minimum, MaximumThe ends of the scale. Clear the box for Auto, and Spanner fits the scale to the figures.
MajorThe gap between one label and the next. Clear the box for Auto.
  • A thickness of 0 hides the ticks, the grid or the axis line.
  • A graph of points or lines fits its scales to the figures, so a scale may not start at zero. Set Minimum to 0 where that would mislead.
  • The scroll bar is set here. On an axis of names, a Maximum smaller than the number of columns shows that many and adds a scroll bar for the rest. The standard graphs have Major 1 and Maximum 8.5, which shows nine columns with every name written. Clear Maximum to show them all at once.
The X axis settings window: X Axis Title, the text size, colour and bold of the title and of the labels, the thickness and colour of the ticks, grid and axis, X Axis Cross at set to Zero, Minimum Auto, Major 1 and Maximum 8.5
The X axis of a standard column graph. Major 1 writes every name, and Maximum 8.5 shows nine columns with a scroll bar for the rest. The grid's thickness is 0, so there are no lines up from the names.
The Y axis settings window, with the same settings as the X axis. Y Grid Thickness is 0.5, Minimum is 0, and Major and Maximum are Auto
The Y axis of the same graph. The scale starts at 0, and Spanner chooses where it ends and the gap between its labels.

A series

Double-click a column, a row, a line or a point. The window sets the item behind that series. Part 2 explains each setting in full: this is a summary.

HeaderThe series' name in the legend.
Item CodeWhat it plots.
TypeColumn, Row, Line, Scatter, Bubble, Stacked Column or Stacked Row.
AggregationHow the products of one column are combined: Sum, Average, Count, First or Last.
Axis and GroupWhich scale the item is drawn against, and which other items it is drawn with.
Number FormatHow its figures are written on the scale and in the tooltip.
ColourThe colour of the column, point or line.
Line Colour, Line ThicknessThe outline of a column or point. For a Line, the thickness of the line itself.
Value DisplayValue, or Share for each figure as a share of the series' total.
Take care with Type, Axis and Group. Together they decide whether an item is drawn at all, so a change to one can make a series disappear. The rules are in Part 2, What is drawn. If a series goes and you can't get it back, don't choose Save Graph: ask Spanner AI to put the graph back as it was saved, or close Spanner and start it again.
The series settings window for the comparison planogram's columns: Header, Item Code Planogram_ComparisonLinearSpace, Type Column, Aggregation Sum, Axis Y, Group 1, Number Format Linear, Colour, Line Colour Black, Line Thickness 0.5 and Value Display Value
The settings of the comparison planogram's columns.

Swapping what is plotted

A graph can hold more figures than it draws. The two distribution graphs hold six rates of sale and three measures of distribution, and draw one of each.

  • From the menu: right-click a series. Each figure it can change to is listed as a swap, such as X Axis: Swap Weighted → Numeric. The menu is pictured under Where to click.
  • From the button: Change Items, below the graph, lists every swap the graph has.

A swap changes the graph's titles to match where it can. How to give a graph figures to swap between is in Part 2. Next: Part 2, Building Graphs.

Want a graph built for you?

If your graphs don't show what you need, we can build them with you, for your own measures and the way your team works.

Email us Book a Demo