[New line chart] Using dates as x-axis

I'm trying to migrate a chart from the legacy component to new one. My chart is a line chart with nbUsers as the y-axis and date as the x-axis. It looks like this with the legacy component:
image

With the new component, when I select Date for the scale of the x-axis, the scale is appropriate but the data points are not linked in the right order:
image

I've tried using Category as the scale, the line is correct but every single date is displayed on the axis and they are not grouped by appropriate time frame:
image

Is there a way to get the intended behavior with the new component?