Skip to content

Commit

Permalink
show all x-axis labels for line graph
Browse files Browse the repository at this point in the history
  • Loading branch information
kimmykokonut committed Jul 11, 2024
1 parent 375df1b commit cb01f9f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions src/components/LineGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,23 @@ const LineGraph: React.FC<AppProps> = ({ applicationData }) => {
aspectRatio: 1,
plugins: {
legend: {
display: true,
display: false,
},
title: {
display: true,
text: "# Applications Per Week",
},
datalabels: {
display: false,
color: '#fff',
}
},
scales: {
x: {
ticks: {
autoSkip: false,
}
}
}
}

return <Line data={data} options={options} />;
Expand Down

0 comments on commit cb01f9f

Please sign in to comment.