Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS2718

warning The id of what changed from was to now since the previous version; saved styles for it will be lost. Give it the id "was" again to keep them.

#What it means

This is a warning. Users' saved styles for a plot or a style are stored under its id, which comes from its title unless you set id =. Since the previous version the id changed, so saved styles for it would be lost.

#Typical cause

  • Renaming the title of a plot or a named style without giving it a fixed id.

#How to fix it

Add id = "<the old id>" to the output (the message gives the old id), so the new title keeps the saved styles.

#Example

It compares two saved versions of a script, so a single script cannot show it.

  • CS2720 — The id id is used twice (what).
  • CS2717 — This migration conflicts with another one for name (version since).

The ChartScript documentation is in English for now; translations will follow.