Skip to content
Styleof the Metric component

Ticker Metric

Generate ticker stat tile images, a big number with a mini sparkline and an automatic red or green percentage move. Fresh per API call. Try imejis free.

Updated

Ticker Metric style, sample render

What this style sets

A style is the metric component with a few properties set. Send these, or start from the style in the editor.

{
  "revenue.format": "compact",
  "revenue.sparkline": [39000, 41000, 43000, 45200, 46900, 48200]
}

Good for

  • Stock / crypto watchlist tiles
  • Live KPI tickers for status dashboards
  • Weekly trend cards posted to Slack

Try your own data

Change the ticker metric here with the same controls the editor shows. The preview updates as you type, and you get the API request for your changes.

Examples

Each example is the same ticker metric with different values. The JSON is what you send.

Stock watchlist tile

A share price with an intraday sparkline; the % move colors itself green.

{
  "revenue.format": "none",
  "revenue.sparkline": [212, 215, 214, 219, 222, 218, 225, 229.87],
  "revenue.value": 229.87,
  "revenue.prefix": "$",
  "revenue.label": "AAPL"
}

Churn trending down

Churn falling is good — 'down-good' colors the drop and its sparkline green.

{
  "revenue.format": "none",
  "revenue.sparkline": [4.1, 4, 3.8, 3.9, 3.6, 3.4, 3.3, 3.2],
  "revenue.value": 3.2,
  "revenue.suffix": "%",
  "revenue.label": "Churn rate",
  "revenue.deltaDirection": "down-good"
}

New values, every render

Push the latest number with '<key>.value' and the change with '<key>.delta'; label, format and the '<key>.sparkline' trend series are overridable too. Send only the properties you want to change; everything else keeps its design value. The API guides cover every language.

Or ask your AI agent“Using imejis, make a 1200 × 630 image with the Ticker style of the Metric component (type "metric") filled with my data, then give me a render link I can call with new values.”
curl -X POST "https://render.imejis.io/v1/$IMEJIS_DESIGN_ID" \
  -H "dma-api-key: $IMEJIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "revenue.value": 52890,
    "revenue.delta": 8.2,
    "revenue.format": "compact",
    "revenue.sparkline": [39000, 41000, 43000, 45200, 46900, 48200]
  }' \
  -o image.png

Other metric styles

Ticker Metric questions

What does the Ticker style change on the metric component?

A stat tile with a mini trendline and an auto red/green delta — watchlists and live counters. It sets 2 properties on the metric component: format, sparkline. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the ticker metric through the API?

Add a metric component to a design, then send its data together with the style's properties as flat overrides (for example revenue.format and revenue.sparkline) in the render request. Each render can carry different data while keeping the Ticker look.

Can the number update on every API call?

Yes — send '<key>.value' plus '<key>.delta' for the change badge; the label and format are overridable too.

How are values formatted?

format supports number (48,250), compact (48.3K), percent, currency with a custom currencySymbol, or none for raw text — plus prefix and suffix strings.

Free tools built on it, guides that use it, and the components that sit beside it.