Skip to main content
On this page

Kater CLI Present and share chart marker

kater chart marker change

Change a marker on a chart. What you leave out stays as it is, and a new place (--value, --stat or --day) replaces the old one with its far end.

Examples

Terminal window
# Change a marker on a chart. What you leave out stays as it is, and a new place (--value, --stat or --day) replaces the old one with its far end
kater chart marker change <query> <marker>

Arguments

ArgumentDescription
<query>The chart’s query: its key, such as duckdb_sample/shop/top_regions, or in a person’s folder, duckdb_sample/users/<user id>/shop/top_regions; as <workspace>/<name>, such as shop/top_regions; its workspace’s folder and its name, such as connections/<connection>/workspaces/shop/top_regions; or its id, rel1_…, also from before a rename.
<marker>The marker’s id, as kater chart marker list prints it.

Options

OptionDescription
--chart <chart>The saved chart, by its name in the workspace. Left out, the query’s chart with no saved chart: each marker is then only yours.
--value <value>A horizontal line, as <field>=<number>, such as platform_roas=3. Its field must be a measure, by the name the query returns it under.
--stat <stat>A horizontal line that follows the data, as <field>=<statistic>, such as platform_roas=average. The statistic is one of average, median, highest and lowest over the rows in view.
--day <day>A vertical line at this date, as YYYY-MM-DD.
--to <to>The far end of a band: a number after --value, or a date after --day, so the marker covers the span between the two.
--label <text>The words on the line. Write an empty value to take them off.
--tone <tone>How the line reads: one of neutral, positive, warning and negative. Write an empty value to take it off.

It also takes the global options anywhere on the line, and --help.

See also