Skip to content

Commit

Permalink
Fix: Chart x-axis
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelborkar committed Apr 25, 2022
1 parent bef5340 commit a6c1ced
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/LineChart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ const LineChart = ({ coinHistory, currentPrice, coinName }) => {
},
],
};

const options = {
scales: {
x: {
reverse: true,
},
y: {
ticks: {
beginAtZero: true,
Expand Down

0 comments on commit a6c1ced

Please sign in to comment.