Elysia Tools Docs
RU
Язык
ZHESPTRUFRDEEN
На сайт
Обзор инструментов

Data Visualization

Scatter Plot Generator

Generate customizable scatter plots with regression lines and multiple data series

html· HTML-результатОткрыть инструмент

Быстрый старт

Вызовите этот инструмент из своего кода на трёх языках.

cURL
curl -X POST 'https://api.elysiatools.com/ru/api/tools/scatter-plot-generator' \
  -H 'Content-Type: application/json' \
  -d '{"chartData":"Single series JSON:\n[{"x": 1, "y": 2}, {"x": 3, "y": 4}]\n\nMulti-series JSON:\n{\n  "series": [\n    {"name": "Group A", "data": [{"x": 1, "y": 2}]},\n    {"name": "Group B", "data": [{"x": 2, "y": 3}]}\n  ]\n}\n\nor text:\n1,2\n3,4\n5,6","chartTitle":"Enter chart title...","pointColors":"#3b82f6,#ef4444,#10b981","backgroundColor":"#ffffff","gridColor":"#e0e0e0","pointSize":"5","opacity":"0.8","chartHeight":"400","xMinValue":0,"xMaxValue":0,"yMinValue":0,"yMaxValue":0,"xAxisLabel":"X Values","yAxisLabel":"Y Values","showGrid":true,"showPoints":true,"showLabels":false,"showRegression":false,"showLegend":true}'

© 2026 Elysia Tools. Документация для разработчиков.

На сайтОбзор инструментов

Справочник API

Отправьте POST-запрос с входными данными в JSON. Параметры типа «файл» требуют предварительной загрузки.

Endpoint

HTTP
POST https://api.elysiatools.com/ru/api/tools/scatter-plot-generator

Параметры

ИмяТипОбязательныйОписание
chartDatatextareaДаData for the scatter plot. Supports single/multi-series JSON or simple x,y pairs
chartTitletextНетTitle that will be displayed above the chart
pointColorstextНетColors for multiple series (comma-separated hex colors). Leave empty for default colors.
backgroundColorcolorНетBackground color for the chart container
gridColorcolorНетColor for the grid lines
pointSizenumberНетSize of data points in pixels
opacitynumberНетOpacity of data points (0.1 to 1.0)
chartHeightnumberНетHeight of the chart in pixels
xMinValuenumberНетMinimum value for X-axis (leave empty for auto-scale)
xMaxValuenumberНетMaximum value for X-axis (leave empty for auto-scale)
yMinValuenumberНетMinimum value for Y-axis (leave empty for auto-scale)
yMaxValuenumberНетMaximum value for Y-axis (leave empty for auto-scale)
xAxisLabeltextНетLabel for the X-axis
yAxisLabeltextНетLabel for the Y-axis
showGridcheckboxНетDisplay grid lines for better readability
showPointscheckboxНетDisplay data points (disable to show only regression lines)
showLabelscheckboxНетDisplay labels on data points
showRegressioncheckboxНетDisplay linear regression lines for each series
showLegendcheckboxНетDisplay a legend with all series

Формат ответа

HTML-результат

JSON
{
  "result": "<div>Processed HTML content</div>",
  "error": "Error message (optional)",
  "message": "Notification message (optional)",
  "metadata": {
    "key": "value"
  }
}

Интеграция MCP

Добавьте этот инструмент на свой сервер Model Context Protocol, чтобы ИИ-агенты могли перечислять и вызывать его.

Конфигурация сервера

Добавьте этот блок в конфигурацию вашего MCP-клиента:

mcp.json
{
  "mcpServers": {
    "elysiatools-scatter-plot-generator": {
      "name": "scatter-plot-generator",
      "description": "Generate customizable scatter plots with regression lines and multiple data series",
      "baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=scatter-plot-generator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

Получить список инструментов

После подключения к SSE-endpoint выведите список доступных инструментов:

tools/list
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list"
}

Вызвать этот инструмент

Вызовите инструмент по его id; аргументы формируются из его параметров:

tools/call
{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "scatter-plot-generator",
    "arguments": {
  "chartData": "Single series JSON:\n[{&quot;x&quot;: 1, &quot;y&quot;: 2}, {&quot;x&quot;: 3, &quot;y&quot;: 4}]\n\nMulti-series JSON:\n{\n  &quot;series&quot;: [\n    {&quot;name&quot;: &quot;Group A&quot;, &quot;data&quot;: [{&quot;x&quot;: 1, &quot;y&quot;: 2}]},\n    {&quot;name&quot;: &quot;Group B&quot;, &quot;data&quot;: [{&quot;x&quot;: 2, &quot;y&quot;: 3}]}\n  ]\n}\n\nor text:\n1,2\n3,4\n5,6",
  "chartTitle": "Enter chart title...",
  "pointColors": "#3b82f6,#ef4444,#10b981",
  "backgroundColor": "#ffffff",
  "gridColor": "#e0e0e0",
  "pointSize": "5",
  "opacity": "0.8",
  "chartHeight": "400",
  "xMinValue": 0,
  "xMaxValue": 0,
  "yMinValue": 0,
  "yMaxValue": 0,
  "xAxisLabel": "X Values",
  "yAxisLabel": "Y Values",
  "showGrid": true,
  "showPoints": true,
  "showLabels": false,
  "showRegression": false,
  "showLegend": true
}
  }
}
Объединяйте несколько инструментов в одной сессии списком toolId через запятую, напр. /mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp (макс. 20).

Вопросы или проблемы? Свяжитесь с [email protected]

Обзор инструментов
Открыть инструмент