qlik-oss / picasso.js

A charting library streamlined for building interactive visualizations for the Qlik product suites.
https://qlik.dev/libraries-and-tools/picassojs
MIT License
188 stars 55 forks source link

Setting the scale tick distance doesn't have the expected effect on axis ticks #530

Open brianjenkins94 opened 4 years ago

brianjenkins94 commented 4 years ago

🐛 Bug report

Steps to Reproduce

We've just been making minor tweaks to this example: https://observablehq.com/@miralemd/picassojs-gantt-chart

But it hasn't been going particularly well.

Adding too much data makes the y-axis disappear.

Most values that we set the (not super well documented) scale tick distance parameter to, have no effect.

Here's a simplified codepen of our chart:

https://codepen.io/brianjenkins94/pen/XWdzPYE

Expected behavior

An x-axis with 7-day demarcations.

Actual behavior

An x-axis with 12-day demarcations.

Versions

cbt1 commented 3 years ago

"Adding too much data makes the y-axis disappear."

"Most values that we set the (not super well documented) scale tick distance parameter to, have no effect."

I'll label this a documentation for now.