Skip to content

Commit

Permalink
linear plot uncertainty displays for first point;
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamineac committed Nov 8, 2022
1 parent efb4a02 commit dfd5119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GroupCurveChart/GroupCurveChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ const GroupCurveChart: React.FC<GroupCurveChartProps> = (props: GroupCurveChartP
fillOpacity: 0.4,
}}
defined={(d, index) => {
if (index === 0) {
if (scaleType === 'log' && index === 0) {
return false;
}
return true;
Expand Down

0 comments on commit dfd5119

Please sign in to comment.