score:0

Add elements to before and after for each series. For x, use the number before and after the first and last number. For y, use NaN. This will create an extra space before and after the bars.

score:0

For the community here is the workaround, adding 1 day in my case as I deal with days (in second in my case), and using NaN as value so that it is not draw on the chart ;) Don't hesitate to ask for more informations :o)

  barChart.unshift([minTimestamp - 86400, NaN]);
  lineChart.unshift([minTimestamp - 86400, NaN]);

  barChart.push([maxTimestamp + 86400, NaN]);
  lineChart.push([maxTimestamp + 86400, NaN]);

Related Query

More Query from same tag