changedInput schema / properties / options / properties / annotations / items / oneOf
Previous value: -[
- {
- "properties": {
- "axis": {
- "description": "Which axis the line is on",
- "enum": [
- "x",
- "y"
- ],
- "type": "string"
- },
- "color": {
- "description": "Line color",
- "type": "string"
- },
- "label": {
- "description": "Label text",
- "type": "string"
- },
- "style": {
- "description": "Line style. Default: dashed",
- "enum": [
- "solid",
- "dashed"
- ],
- "type": "string"
- },
- "type": {
- "const": "line",
- "type": "string"
- },
- "value": {
- "description": "Position on the axis",
- "type": "number"
- }
- },
- "required": [
- "type",
- "axis",
- "value"
- ],
- "type": "object"
- },
- {
- "properties": {
- "color": {
- "description": "Background color",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "type": {
- "const": "box",
- "type": "string"
- },
- "xMax": {
- "type": "number"
- },
- "xMin": {
- "type": "number"
- },
- "yMax": {
- "type": "number"
- },
- "yMin": {
- "type": "number"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- },
- {
- "properties": {
- "color": {
- "type": "string"
- },
- "content": {
- "description": "Label text",
- "type": "string"
- },
- "type": {
- "const": "label",
- "type": "string"
- },
- "x": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ],
- "description": "X position (number or category label)"
- },
- "y": {
- "description": "Y position",
- "type": "number"
- }
- },
- "required": [
- "type",
- "x",
- "y",
- "content"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "axis": {
+ "description": "Which axis the line is on",
+ "enum": [
+ "x",
+ "y"
+ ],
+ "type": "string"
+ },
+ "color": {
+ "description": "Line color",
+ "type": "string"
+ },
+ "label": {
+ "description": "Label text",
+ "type": "string"
+ },
+ "style": {
+ "description": "Line style. Default: dashed",
+ "enum": [
+ "solid",
+ "dashed"
+ ],
+ "type": "string"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ },
+ "value": {
+ "description": "Position on the axis",
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "axis",
+ "value"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "color": {
+ "description": "Background color",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "type": {
+ "const": "box",
+ "type": "string"
+ },
+ "xMax": {
+ "type": "number"
+ },
+ "xMin": {
+ "type": "number"
+ },
+ "yMax": {
+ "type": "number"
+ },
+ "yMin": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "content": {
+ "description": "Label text",
+ "type": "string"
+ },
+ "type": {
+ "const": "label",
+ "type": "string"
+ },
+ "x": {
+ "description": "X position (number or category label)",
+ "type": [
+ "number",
+ "string"
+ ]
+ },
+ "y": {
+ "description": "Y position",
+ "type": "number"
+ }
+ },
+ "required": [
+ "type",
+ "x",
+ "y",
+ "content"
+ ],
+ "type": "object"
+ }
+]