Skip to content

Commit

Permalink
Add x tick lines to chart
Browse files Browse the repository at this point in the history
  • Loading branch information
Bluesmile82 committed Oct 3, 2023
1 parent 3328d86 commit 226cd82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/charts/area-chart/area-chart-component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ function CustomizedAxisTick(props) {
</g>
);
}

function AreaChartComponent({
area,
data,
Expand All @@ -53,8 +54,8 @@ function AreaChartComponent({
fontSize={9}
strokeWidth={2}
tickCount={xTicks.length}
tickLine={false}
ticks={xTicks}
tickLine={{ stroke: 'gray', strokeWidth: 0.5 }}
type="number"
interval={0}
tick={
Expand Down

0 comments on commit 226cd82

Please sign in to comment.