added margin top to the alternative scenarios plots

This commit is contained in:
Luis Aleixo 2022-07-05 13:46:29 +02:00
parent e95b1479bf
commit cb485b175a

View file

@ -691,7 +691,7 @@ function draw_alternative_scenarios_plot(concentration_plot_svg_id, alternative_
highest_concentration = Math.max(highest_concentration, Math.max(...scenario_concentrations));
}
yRange.domain([0., highest_concentration]);
yRange.domain([0., highest_concentration*1.1]);
yAxisEl.transition().duration(1000).call(yAxis);
for (const [scenario_name, data] of Object.entries(data_for_scenarios)) {