Skip to content

Commit

Permalink
Fix mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Marichka Offen committed Jul 29, 2022
1 parent 9aa1ee2 commit 8f5c1e8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@prefecthq/vue-charts",
"version": "0.0.16",
"version": "0.0.17",
"private": false,
"keywords": [
"vue3",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ScatterPlot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
const xTicks = computed(() => {
// this number is responsible for amount of ticks rendered on x axis. The bigger the number, the less ticks will be rendered.
const tickWidth = 150
const tickWidth = 100
const ticks = (baseChart.width.value - baseChart.paddingX) / tickWidth
return Math.max(2, Math.ceil(ticks))
Expand Down

0 comments on commit 8f5c1e8

Please sign in to comment.