Hi,
Nice to hear from you!
This is the console.log of the object I pass to the chart field, right after the form load.
{
{
"backgroundColor": "#f7f7f7",
"tooltip": {
"trigger": "axis",
"axisPointer": {
"type": "cross"
}
},
"legend": {
"left": "center",
"top": "top",
"data": [
"Coníferas",
"Eucaliptus",
"Pulpa"
]
},
"xAxis": {
"type": "time",
"boundaryGap": false
},
"yAxis": {
"type": "value"
},
"toolbox": {
"right": 20,
"feature": {
"saveAsImage": {
"show": true
}
}
},
"series": [
{
"name": "Coníferas",
"type": "line",
"showSymbol": true,
"smooth": false,
"data": [
[
"2025-09-17",
170
],
[
"2025-05-15",
120
],
[
"2025-01-08",
100
]
]
},
{
"name": "Eucaliptus",
"type": "line",
"showSymbol": true,
"smooth": false,
"data": [
[
"2025-08-15",
250
],
[
"2025-05-06",
300
],
[
"2025-02-05",
280
]
]
},
{
"name": "Pulpa",
"type": "line",
"showSymbol": true,
"smooth": false,
"data": [
[
"2025-10-29",
200
],
[
"2025-07-24",
130
],
[
"2025-03-04",
150
]
]
}
]
}
And this is the same object after pressing the button that calls the same function that generates de chart options object:
{
"backgroundColor": "#f7f7f7",
"tooltip": {
"trigger": "axis",
"axisPointer": {
"type": "cross"
}
},
"legend": {
"left": "center",
"top": "top",
"data": [
"Coníferas",
"Eucaliptus",
"Pulpa"
]
},
"xAxis": {
"type": "time",
"boundaryGap": false
},
"yAxis": {
"type": "value"
},
"toolbox": {
"right": 20,
"feature": {
"saveAsImage": {
"show": true
}
}
},
"series": [
{
"name": "Coníferas",
"type": "line",
"showSymbol": true,
"smooth": false,
"data": [
[
"2025-09-17",
170
],
[
"2025-05-15",
120
],
[
"2025-01-08",
100
]
]
},
{
"name": "Eucaliptus",
"type": "line",
"showSymbol": true,
"smooth": false,
"data": [
[
"2025-08-15",
250
],
[
"2025-05-06",
300
],
[
"2025-02-05",
280
]
]
},
{
"name": "Pulpa",
"type": "line",
"showSymbol": true,
"smooth": false,
"data": [
[
"2025-10-29",
200
],
[
"2025-07-24",
130
],
[
"2025-03-04",
150
]
]
}
]
}
It seems they are both fine (as far as I can see).
The first one just doesn't display anything in the Form (In fact it displays well for less than a second, and it is immediately overriden by the object defined in the UI that has no values, hence it displays nothing)
This is the chart definition:

And this is the contents tab:
