cgxp icon indicating copy to clipboard operation
cgxp copied to clipboard

Disable legend with print v2

Open rbovard opened this issue 9 years ago • 2 comments

When removing the legend checkbox with (see #1007 for history):

    additionalAttributes: [{
        name: "title",
        label: "Title",
        type: "String"
    }, {
        name: "comment",
        label: "Comment",
        type: "String",
        useTextArea: true
    }]

The legend is still requested to the server, because the param legends is sent to create.json

rbovard avatar Oct 22 '15 06:10 rbovard

Hello,

For this you should add includeLegend: false in the options of the plugin configuration :-)

sbrunner avatar Oct 22 '15 14:10 sbrunner

Thanks @sbrunner!

BTW you should add it to the docs ;)

rbovard avatar Oct 23 '15 08:10 rbovard