Skip to content

Commit

Permalink
improvement(chart): adjust max value when volumeThreshold === 0
Browse files Browse the repository at this point in the history
  • Loading branch information
WofWca committed Feb 26, 2021
1 parent 4951fe4 commit d9e9fd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup/Chart.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
}
return { min: 0, max: chartMaxValue };
} else {
return { min: 0, max: volumeSeries.maxValue * 1.05 };
return { min: 0, max: volumeSeries.maxValue };
}
},
});
Expand Down

0 comments on commit d9e9fd5

Please sign in to comment.