Your JSON seems to be completely invalid, you would be able to see that error in your console. Additionally, it's x-axis (not x-Axis) since all props are actually case sensitive. According to the highcharts api, you need to have x-axis: {categories: ["Jan","Feb","Mar"]}. Also the data should NEVER go in the y-axis property, rather it should be in the
key. All in all, your new HTML looks like this:
<highcharts-chart id="Chart" x-Axis='{"categories": ["Jan", "Feb", "Mar"]}' type="spline" title="Monthly Average Temperature" subtitle="Source: WorldClimate.com" x-label="Months" y-label="Average"
data='[{"name": "Tokyo", "data": [7.0, 6.9, 9.5]},
{"name": "New York", "data": [-0.2, 0.8, 5.7]},
{"name": "Berlin", "data": [-0.9, 0.6, 3.5]},
{"name": "London", "data": [3.9, 4.2, 5.7]}]'></highcharts-chart>
PS. Please post any concerns in the issues tab in the
Github Repo/Stack Overflow, as it may help fellow developers with similar issues. Thanks
Sincerely,
AP [highcharts-chart author]