Copy
Ask AI
{
"type": "object",
"properties": {
"type": {
"const": "ScatterChart",
"default": "ScatterChart",
"type": "string"
},
"cssClass": {
"type": [
"string",
"null"
],
"default": null,
"description": "CSS/Tailwind classes for styling. Accepts a Responsive() for breakpoint-aware classes."
},
"data": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "string"
}
],
"description": "Row data or {{ interpolation }} reference"
},
"series": {
"description": "Series to render as scatter groups",
"items": {
"$ref": "ChartSeries"
},
"type": "array"
},
"xAxis": {
"description": "Data key for x-axis values",
"type": "string"
},
"yAxis": {
"description": "Data key for y-axis values",
"type": "string"
},
"zAxis": {
"type": [
"string",
"null"
],
"default": null,
"description": "Data key for bubble size (optional)"
},
"height": {
"default": 300,
"description": "Chart height in pixels",
"type": "integer"
},
"showLegend": {
"default": false,
"description": "Show legend",
"type": "boolean"
},
"showTooltip": {
"default": true,
"description": "Show tooltip on hover",
"type": "boolean"
},
"showGrid": {
"default": true,
"description": "Show cartesian grid",
"type": "boolean"
}
},
"required": [
"type",
"data",
"series",
"xAxis",
"yAxis"
]
}