If this covers multiple packages, if possible open an issue for both and PR separately: this will keep the PR's scope as small as possible (plus each package needs separate version bumps & republishing after the fix has been applied).
[ ] @thingco/auth-flows
[x] @thingco/graphviz
[ ] @thingco/react-component-library
[ ] @thingco/shared-types
[ ] @thingco/unit-formatter
[ ] @thingco/user-preferences
[ ] @thingco/user-preferences-store-web
[ ] @thingco/user-preferences-store-native
Describe the bug
The x axis behaviour on graphs is very inconsistent. In some cases, bottom and zero values do not render anything at all.
Expected behavior
x axis should have three positions: Top, Bottom and Mid (scrap zero as not all graphs center on zero).
Top: Locks to top of y axis and runs along the graph horizontally
Bottom: Locks to bottom of y axis and runs along the graph horizontally
Mid: Locks to either center of y axis, or median of data on y axis. Latter may be more difficult, but I think looks better overall?
Which package does this affect?
If this covers multiple packages, if possible open an issue for both and PR separately: this will keep the PR's scope as small as possible (plus each package needs separate version bumps & republishing after the fix has been applied).
@thingco/auth-flows
@thingco/graphviz
@thingco/react-component-library
@thingco/shared-types
@thingco/unit-formatter
@thingco/user-preferences
@thingco/user-preferences-store-web
@thingco/user-preferences-store-native
Describe the bug The x axis behaviour on graphs is very inconsistent. In some cases,
bottom
andzero
values do not render anything at all.Expected behavior x axis should have three positions: Top, Bottom and Mid (scrap zero as not all graphs center on zero).
Top: Locks to top of y axis and runs along the graph horizontally Bottom: Locks to bottom of y axis and runs along the graph horizontally Mid: Locks to either center of y axis, or median of data on y axis. Latter may be more difficult, but I think looks better overall?