← Files 101ARCHIVED FILE

skills/101-index/resources/analytics-visualization/references/chart-payload-example.json

1.35 KB · Sep 30, 2026 · 23:02 UTC

↓ Download file

{
  "title": "Partner profit by month — 2026",
  "source": {
    "engine": "101-mcp",
    "language": "mcp",
    "tool": "list_events",
    "executedAt": "2026-08-24T17:05:00Z",
    "description": "Confirmed profit across the partner's projects",
    "filters": {
      "dateFrom": "2026-01-01",
      "dateTo": "2026-08-24",
      "status": "partner_verified,client_accepted",
      "withTotals": true
    },
    "metrics": [
      {
        "id": "profit",
        "definition": "Total confirmed profit across the partner's projects"
      }
    ]
  },
  "table": {
    "columns": [
      {
        "key": "month",
        "label": "Month",
        "type": "date"
      },
      {
        "key": "profit",
        "label": "Profit",
        "type": "number"
      }
    ],
    "rows": [
      {
        "month": "2026-01-01",
        "profit": 644450.57
      },
      {
        "month": "2026-02-01",
        "profit": 702548.77
      }
    ],
    "row_count": 2,
    "truncated": false
  },
  "chart": {
    "type": "bar",
    "fields": {
      "x": {
        "field": "month",
        "type": "temporal",
        "time_unit": "month"
      },
      "y": {
        "field": "profit",
        "type": "quantitative"
      }
    },
    "settings": {
      "showValues": true,
      "sort": "none"
    }
  },
  "display": {
    "viewMode": "both",
    "controls": true
  }
}

SHA-256: 8849d36dd98552b7144f870c2a1c3d0ef8ff3a54827841e525e8a3c9f942cb53