options = ({
chart: { animation: false, reflow: false, style: { fontSize: "1em" } },
legend: {
itemStyle: { fontSize: "0.875em", fontWeight: "normal" },
symbolRadius: 0
},
plotOptions: { series: { animation: false, stacking: "normal" } },
series: [
{
borderColor: "#66BB6A",
color: "#C8E6C9",
data: data.newHires,
name: "New Hires",
type: "column"
},
{
borderColor: "#E7C000",
color: "#FFF7D4",
data: data.rehires,
name: "Rehires",
type: "column"
},
{
color: "#78909C",
data: data.rehireRatio,
name: "Rehire Ratio",
type: "line",
yAxis: 1
}
],
title: {
style: { fontSize: "1.125em" },
text: `Hires by Month for ${WorkforceData.sizeByMonthForCalendarYear.year}`
},
xAxis: [
{
categories: Data.monthAbbreviations,
labels: { style: { fontSize: "0.875em" } }
}
],
yAxis: [
{
labels: { format: "{value:,.0f}", style: { fontSize: "0.875em" } },
reversedStacks: false,
title: { text: "Hires" }
},
{
labels: { format: "{value:,.0f}", style: { fontSize: "0.875em" } },
opposite: true,
title: { text: "Ratio" }
}
]
})