Categories

Step Chart Generator

Create step charts with staircase-style data visualization, perfect for showing discrete changes over time

Data points as JSON array with x, y, and optional label properties

Title that will be displayed above the step chart

Label for the X-axis

Label for the Y-axis

Color of the step line

Width of the step line in pixels

Color of the data points

Size of data points in pixels

Display data points on the step line

Display value labels on data points

Display background grid lines

Fill the area under the step line with color

Color for area fill (if enabled)

Color of grid lines

Background color of the chart

Width of the chart in pixels

Height of the chart in pixels

Font size for labels and text

Font size for the chart title

Font family for text elements

Animate the chart when it loads

Animation duration in milliseconds

Key Facts

Category
Data Visualization
Input Types
text, textarea, select, color, number, checkbox
Output Type
html
Sample Coverage
4
API Ready
Yes

Overview

The Step Chart Generator allows you to create professional staircase-style visualizations, ideal for representing discrete data points that change at specific intervals over time.

When to Use

  • Visualizing price changes for products or services over a specific period.
  • Tracking inventory levels that fluctuate based on discrete restock or sales events.
  • Displaying stage-based project progress or status changes in a clear, sequential format.

How It Works

  • Input your data as a JSON array containing x-axis categories, y-axis values, and optional labels.
  • Select your preferred step style, such as 'Step Before' or 'Step After', to define how the lines connect between points.
  • Customize the visual appearance by adjusting line colors, point sizes, grid visibility, and area fills.
  • Generate the chart and preview the final staircase visualization before exporting or embedding it.

Use Cases

Financial analysts tracking historical interest rate adjustments.
Supply chain managers monitoring warehouse stock levels over months.
Project managers visualizing the transition between different development phases.

Examples

1. Product Price History

E-commerce Manager
Background
The manager needs to present how a product's price changed throughout the year to stakeholders.
Problem
Standard line charts imply continuous change, which is misleading for fixed price points.
How to Use
Input the price history as a JSON array and select 'Step Before' to show exactly when the price changed.
Example Config
[{"x": "Jan", "y": 199}, {"x": "Mar", "y": 179}, {"x": "Jun", "y": 159}]
Outcome
A clean staircase chart clearly showing the price drops at specific months.

2. Inventory Level Tracking

Warehouse Supervisor
Background
The supervisor tracks stock levels that only change when a shipment arrives or a bulk order is fulfilled.
Problem
The inventory data is discrete and needs a visualization that reflects sudden jumps rather than gradual slopes.
How to Use
Use the 'Step After' style to visualize the inventory level remaining constant until the next transaction date.
Example Config
[{"x": "Week 1", "y": 500}, {"x": "Week 2", "y": 350}, {"x": "Week 3", "y": 800}]
Outcome
An accurate representation of inventory levels that highlights the exact timing of stock replenishment.

Try with Samples

json, text

Related Hubs

FAQ

What data format is required?

The tool requires a JSON array of objects, where each object includes 'x' (category) and 'y' (value) properties.

Can I customize the line style?

Yes, you can choose between 'Step Before', 'Step After', and 'Step Middle' styles to control how the lines connect your data points.

Is it possible to fill the area under the line?

Yes, you can enable the 'Fill Area Under Line' option and select a custom color to highlight the space beneath the step chart.

Can I add labels to the data points?

Yes, by enabling 'Show Data Labels', you can display the specific numerical values directly on the chart points.

What are the dimensions of the generated chart?

You can define the exact width and height of the chart in pixels within the configuration settings, ranging from 400x300 to 1200x800.

API Documentation

Request Endpoint

POST /en/api/tools/step-chart-generator

Request Parameters

Parameter Name Type Required Description
chartTitle text No Title that will be displayed above the step chart
dataPoints textarea Yes Data points as JSON array with x, y, and optional label properties
xAxisLabel text No Label for the X-axis
yAxisLabel text No Label for the Y-axis
stepStyle select Yes -
lineColor color No Color of the step line
lineWidth number No Width of the step line in pixels
pointColor color No Color of the data points
pointSize number No Size of data points in pixels
showDataPoints checkbox No Display data points on the step line
showLabels checkbox No Display value labels on data points
showGrid checkbox No Display background grid lines
fillArea checkbox No Fill the area under the step line with color
areaColor color No Color for area fill (if enabled)
gridColor color No Color of grid lines
backgroundColor color No Background color of the chart
chartWidth number No Width of the chart in pixels
chartHeight number No Height of the chart in pixels
dataLabelFormat select No -
fontSize number No Font size for labels and text
titleSize number No Font size for the chart title
fontFamily text No Font family for text elements
animationEnabled checkbox No Animate the chart when it loads
animationDuration number No Animation duration in milliseconds

Response Format

{
  "result": "
Processed HTML content
", "error": "Error message (optional)", "message": "Notification message (optional)", "metadata": { "key": "value" } }
HTML: HTML

AI MCP Documentation

Add this tool to your MCP server configuration:

{
  "mcpServers": {
    "elysiatools-step-chart-generator": {
      "name": "step-chart-generator",
      "description": "Create step charts with staircase-style data visualization, perfect for showing discrete changes over time",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=step-chart-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

You can chain multiple tools, e.g.: `https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`, max 20 tools.

If you encounter any issues, please contact us at [email protected]