Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

JFreeChartWrapper empty behind proxy

Karsten Ludwig Hauser
5 years ago Jul 23, 2016 4:36pm

Hi together,

when loading a svg graph through a zuul proxy it is not displayed in the UI. You can see it in the image I attached. When calling the svg directly and also when open it behind the proxy within the UI it shows up.

Here is the code I use:

JFreeChart chart = createchart(dataset);
        JFreeChartWrapper jFreeChartWrapper = new JFreeChartWrapper(chart) {
            private static final long serialVersionUID = -7115428425068565513L;

            @Override
            public void attach() {
                super.attach();
                setResource("src", getSource());
            }
        };

Do you have any suggestions about where to look/debug and about what could be the reason?

Thanks in advance
Karsten

Karsten Ludwig Hauser
5 years ago Aug 10, 2016 4:29pm