The outsytems chars - stacked column chart is returning the error 'unexpected identifier 'width'", due to failed parsing of the highcharts json, but in the highcharts website it works.
Hi Hugo,
Could you please share the JSON you're using?
Ola Hugo,
This usually happens because OutSystems Charts (v1) does not support the full Highcharts JSON syntax, even if it works on the Highcharts website.
The unexpected identifier 'width' error typically comes from properties or structures that the OutSystems JSON parser does not expect (for example, width defined at an unsupported level, inside series or plotOptions).
Try removing or relocating the width property and stick to the options explicitly supported by OutSystems Charts. In many cases, chart sizing should be handled via the widget/container (CSS) instead of the Highcharts JSON.
If needed, validate the JSON against the OutSystems Charts documentation rather than the Highcharts playground, as they are not fully equivalent.
Best, Miguel
This happens because OutSystems Charts expect a restricted Highcharts JSON schema, and properties like width are not supported in that context even though they work on the Highcharts website.