Skip to content
Styleof the Chart component

Step Line Chart

Generate step and staircase line chart images for interest rates, pricing tiers and any value that changes in discrete steps. Start free with imejis.

Updated

Step Line Chart style, sample render

What this style sets

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

{
  "sales.chartType": "step",
  "sales.data": [2.5, 2.5, 3, 3, 4.25, 4.25, 5],
  "sales.labels": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"],
  "sales.colors": ["#DC2626"],
  "sales.lineWidth": 3
}

Good for

  • Interest-rate or pricing-tier change history
  • Plan/limit changes over time
  • Inventory or headcount step changes

Try your own data

Change the step line chart 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 step line chart with different values. The JSON is what you send.

Central-bank rate history

Policy rate held flat then stepped up — percent-formatted staircase.

{
  "sales.chartType": "step",
  "sales.data": [4.5, 4.5, 4.75, 4.75, 5, 5.25, 5.25],
  "sales.labels": ["Q1", "Q2", "Q3", "Q4", "Q5", "Q6", "Q7"],
  "sales.colors": ["#B91C1C"],
  "sales.lineWidth": 3,
  "sales.valueFormat": "percent"
}

Plan price changes

Monthly subscription price stepping through pricing updates.

{
  "sales.chartType": "step",
  "sales.data": [19, 19, 19, 29, 29, 39],
  "sales.labels": ["'21", "'22", "'23", "'24", "'25", "'26"],
  "sales.colors": ["#4F46E5"],
  "sales.lineWidth": 3,
  "sales.valueFormat": "currency",
  "sales.showValues": true
}

New values, every render

Feed fresh numbers via '<key>.data' (or '<key>.series' for multi-series), and swap '<key>.labels' or '<key>.chartType' per render. 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 Step line style of the Chart component (type "chart") 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 '{
    "sales.chartType": "step",
    "sales.data": [2.5, 2.5, 3, 3, 4.25, 4.25, 5],
    "sales.labels": ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul"],
    "sales.colors": ["#DC2626"],
    "sales.lineWidth": 3
  }' \
  -o image.png

Other chart styles

Step Line Chart questions

What does the Step line style change on the chart component?

A line that holds each value until the next point — for rates that change in steps. It sets 5 properties on the chart component: chartType, data, labels, colors, lineWidth. Everything else keeps the component's defaults, so your data and layout carry over.

How do I render the step line chart through the API?

Add a chart component to a design, then send its data together with the style's properties as flat overrides (for example sales.chartType and sales.data) in the render request. Each render can carry different data while keeping the Step line look.

Can I change the chart data per API call?

Yes — send '<key>.data' for a single series or '<key>.series' for multi-series, plus '<key>.labels'; even chartType can switch per render.

Which chart types are supported?

Bar (vertical or horizontal), line and area — with stacking for multiple series and a sparkline mode that hides axes, grid and labels.

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