sgratzl / chartjs-chart-boxplot

Chart.js Box Plots and Violin Plot Charts
https://www.sgratzl.com/chartjs-chart-boxplot/
MIT License
101 stars 23 forks source link

Time axis with Boxplot #139

Open stewmorg opened 1 week ago

stewmorg commented 1 week ago

When I create a boxplot that has an X axis scale defined as : { type:'time' time: { unit: 'quarter', parser: 'YYYY-M', displayFormats: { quarter: '[Q]Q YYYY' } }, }

It seems like first tick drawn on the X axis is 1970. This seems to be the case whether or not the ticks.source is set to "labels" or "data".

image

I'll see if I can get a codepen example working.