move and refactor period tick positioning logic inside a function
move and refactor period tick positioning logic inside a function

etpinard/plotly.js,etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js