Skip to content

Commit

Permalink
Merge pull request #77 from PrefectHQ/fix-mistake-and-release
Browse files Browse the repository at this point in the history
Undo unwanted xTicks amount change + Release 0.0.17
  • Loading branch information
marichka-offen authored Jul 29, 2022
2 parents 9aa1ee2 + 8f5c1e8 commit 60c1ccd
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 60c1ccd

Please sign in to comment.