Hi! When I try to download the SVG file, I get this error. When I try to d

Hi!

When I try to download the SVG file, I get this error.
When I try to download the PNG file. Nothing happens.
I can download the CSV file. That’s working.

Code:

public class Graf {

	private ApexCharts apexChart;
	private XAxis xAxis;

	public Graf(Series<Float> pwmSignal1, Series<Float> pwmSignal2, Series<Float> pwmSignal3) {
		apexChart = ApexChartsBuilder.get()
				.withChart(ChartBuilder.get()
						.withType(Type.line)
						.withZoom(ZoomBuilder.get()
								.withEnabled(true)
								.build())
						.withToolbar(ToolbarBuilder.get()
								.withShow(true)
								.build())
						.build())
				.withLegend(LegendBuilder.get()
						.withShow(true)
						.build())
				.withDataLabels(DataLabelsBuilder.get()
						.withEnabled(false)
						.build())
				.withColors("#77B6EA", "#545454")
				.withTooltip(TooltipBuilder.get()
						.withEnabled(false)
						.build())
				.withStroke(StrokeBuilder.get()
						.withCurve(Curve.straight)
						.build())
				.withTitle(TitleSubtitleBuilder.get()
						.withText("MySQL")
						.withAlign(Align.left)
						.build())
				.withGrid(GridBuilder.get()
						.withRow(RowBuilder.get()
								.withColors("#f3f3f3", "transparent")
								.withOpacity(0.5)
								.build())
						.build())
				.withXaxis(XAxisBuilder.get()
						.withCategories("Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep")
						.build())
				.withYaxis(YAxisBuilder.get()
						.withTitle(TitleBuilder.get()
								.withText("Measurements")
								.build())
						.build())
				.withSeries(new Series[] { pwmSignal1, pwmSignal2, pwmSignal3})
				.build();

	}

	public void updateTheGraf(String[] datesX, float[]
[] series) {
		// Todo: Fixa för uppdateringar
	}

}

18306878.png

Hi,

Great addon for charts. Thank you for the same. Any update on this issue for the Download SVG or PNG file. I’m having the same issue. Currently we are using Vaadin version 14.3.3. Thank you in advance!

Best Regards,
Priya