Is your feature request related to a problem? Please describe.
Allow user to set the option for nice tick ending values.
Describe alternatives you've considered
User manually sets the domain based on dataset
Additional context
An attempt was made in #384 but ran into issues with ticks aligning to the geometry domain.
See this branch for attempt master...nickofthyme:feat/nice-ticks
computeSeriesDomains computes the xDomain and yDomains which are then passed to all subsequent function. I think this would be the best place to set the nice value so the domain is set from the beginning.
Better yet is this could return the xScale and yScales that would be better so the scale is not instantiated in the getAxisTicksPositions and then in getScaleForAxisSpec
Is your feature request related to a problem? Please describe.
Allow user to set the option for
nicetick ending values.Describe alternatives you've considered
User manually sets the domain based on dataset
Additional context
An attempt was made in #384 but ran into issues with ticks aligning to the geometry domain.
See this branch for attempt master...nickofthyme:feat/nice-ticks
computeSeriesDomainscomputes thexDomainandyDomainswhich are then passed to all subsequent function. I think this would be the best place to set the nice value so the domain is set from the beginning.Better yet is this could return the
xScaleandyScalesthat would be better so the scale is not instantiated in thegetAxisTicksPositionsand then ingetScaleForAxisSpec