Semaphor
Custom Visuals

Troubleshooting

What each message about a custom visual means, why a card shows a table, and how to fix it

When you add or change a visual, the editor tries it at several card sizes, in light and dark mode, and lists anything wrong in the Visual panel and on the Code tab. Each message says where it happened and what to change. The quickest fix is usually to hand the message to your assistant.

CUSTOM VISUALFix this before saving; the dashboard won’tsave it as it is:The visual said it was ready but drew nothingat 240 × 150, light mode.Draw something (an empty-state message)when there are no rows.1Content is cut off at 240 × 150, light mode("Revenue by channel and…").2Ask assistant1Problems in red block the saveThe visual failed, drew nothing, neverfinished, or reached outside the card.2Warnings in grey don’tLow contrast, cut-off text, the wrongfont, or colours of its own.3Hand them to your assistantCopy the messages into your request,or click Ask assistant to fix them.
Each message says where it happened and what to change. Problems block saving; warnings are yours to judge.

Problems that block saving

The dashboard won't save a visual with one of these. Fix it, or click Start over.

What you seeWhat it meansWhat to ask for
"The visual failed at …"It ran into an error, often with no rows or an empty value."Fix this error: …", pasting the message.
"The visual never said it was ready at …"It didn't finish drawing in time."The visual never finishes drawing: fix it."
"The visual said it was ready but drew nothing at …"It finished without drawing, often when there are no rows."Show a short message when there are no rows."
"The visual tried to reach …"It tried to load something from outside, such as a font, an image or data."Don't load anything from outside; use only the card's data."
"The script … can't load"It uses a chart library from a place the dashboard doesn't allow, or without an exact version."Load the library as the prompt says."
"The visual has no manifest" or "The manifest is invalid…"The file isn't a complete custom visual, often because only part of the reply was pasted.Paste the whole reply, or ask for "the whole HTML document".
"This visual is … KB; the limit is 256 KB."The file is too big, usually because a library or data was pasted into it."Load the chart library instead of including it, and remove unused code."

Warnings that don't block

The visual works, but something could be better. Fix these when you can.

What you seeWhat to ask for
Text below 4.5:1 contrast"The text … is hard to read: use the theme's text colours."
Content cut off at a small size"Show less when the card is small: fewer labels, shorter names, the top rows."
The dashboard's font not used"Use the dashboard's font everywhere."
Colours written into the code"Use the theme's colours, and add a colour setting for the highlight."
"The visual could not be checked in time; try again"Click Check again. The visual saves either way.

When a card shows a table

A visual that can't draw never leaves a blank card: the card shows its data as a table. People who can edit the dashboard see the reason above the table; viewers see only the table.

Orders by channelThe visual didn’t finish drawing, so its data is shown as a table.1ChannelRegionOrder countOnlineWest1,284OnlineEast1,102RetailWest846RetailEast73121The reason, for youPeople who can edit the dashboard seewhy the visual didn’t draw.2The table, for everyoneViewers see only the table: the samerows, with the card’s formats.Fix the visual and it comes back.
A visual that fails never leaves a blank card: viewers get the numbers as a table.
The note above the tableWhat to do
"This card has no visual yet."Start one in the Visual panel.
"Add a field for …"The visual needs a field the card doesn't have. Add it to the card, or pick one in the panel's Fields.
"The visual didn't start, so its data is shown as a table."Open the card in the editor and check the panel's messages.
"The visual didn't finish drawing, so its data is shown as a table."Ask the assistant to make it finish drawing, especially with many rows.
"The visual drew nothing, so its data is shown as a table."Often no rows for these filters: ask for an empty-state message.
"The visual failed: …" or "The visual reported a problem: …"Paste the message to your assistant.
"This visual can't be loaded."Reload the dashboard. If it persists, start over from the visual's code if you have a copy.

The visual comes back on its own as soon as a later drawing works, for example after you change a filter that left it with no rows.

Common questions

On this page