Skip to content

Instantly share code, notes, and snippets.

@luise64
Last active November 17, 2020 12:04
Show Gist options
  • Save luise64/36bd1bbc4e48db959b6d4cec3de89383 to your computer and use it in GitHub Desktop.
Save luise64/36bd1bbc4e48db959b6d4cec3de89383 to your computer and use it in GitHub Desktop.
{
chart: {
style: {
color: "#b9bbbb"
},
renderTo: "container",
backgroundColor: "transparent",
lineColor: "rgba(35,37,38,100)",
plotShadow: false
},
credits: {
enabled: false
},
title: {
style: {
color: "#b9bbbb"
},
text: "Monthly Average Temperature"
},
xAxis: {
categories: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
},
yAxis: {
title: {
style: {
color: "#b9bbbb"
},
text: "Temperature"
}
},
legend: {
itemStyle: {
color: "#b9bbbb"
},
layout: "vertical",
align: "right",
verticalAlign: "middle",
borderWidth: 0
},
series: [{
color: "#108ec5",
name: "NewYork",
data: [17.0, 22.0, 24.8, 24.1, 20.1, 14.1, 8.6, 2.5]
}, {
color: "#52b238",
name: "Berlin",
data: [13.5, 17.0, 18.6, 17.9, 14.3, 9.0, 3.9, 1.0]
}, {
color: "#ee5728",
name: "London",
data: [11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment