Skip to content

Commit

Permalink
Formatting change
Browse files Browse the repository at this point in the history
  • Loading branch information
thanasis457 committed Jan 5, 2025
1 parent 5b27b79 commit c1668bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/subcomponents/chartcomponents/LineChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const LineChart = ({ data }) => {

// Adds and controls y-axis
g.append("g")
.call(d3.axisLeft(yScale).ticks(5).tickFormat(d3.format(".2s")))
.call(d3.axisLeft(yScale).ticks(5).tickFormat(d3.format(".1f")))
.call((g) => g.select(".domain").remove())
.call((g) => g.selectAll(".tick line").remove());

Expand Down

0 comments on commit c1668bf

Please sign in to comment.