Skip to content
This repository has been archived by the owner on Jun 6, 2023. It is now read-only.

Disable legend with print v2 #1033

Open
rbovard opened this issue Oct 22, 2015 · 2 comments
Open

Disable legend with print v2 #1033

rbovard opened this issue Oct 22, 2015 · 2 comments

Comments

@rbovard
Copy link
Contributor

rbovard commented Oct 22, 2015

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

@sbrunner sbrunner added this to the 1.6.7 milestone Oct 22, 2015
@sbrunner
Copy link
Member

Hello,

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

@rbovard
Copy link
Contributor Author

rbovard commented Oct 23, 2015

Thanks @sbrunner!

BTW you should add it to the docs ;)

@sbrunner sbrunner removed this from the 1.6.7 milestone Oct 29, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants