Reports - Timeseries chart, remove extra spaces on trend


remove or make the trend starts to the corner with no margin or gap

Set the margin on the X-axis to zero, perhaps?

hi thanks for the reply, where i can find that settings? because these 2 are the only available for the x axis
image

Ah, I see. You would use a script to configure the chart. Something like this:

def configureChart(data, chart):
	axis = chart.plot.domainAxis
	axis.lowerMargin = 0.0
	axis.upperMargin = 0.0

Find this option here:

Note that this script doesn't run on the Design tab. Just on the Preview tab and in actual outputs.

thanks sir! :+1: