I wonder why the setFilename() Methode does't work and saw that that is due to a little CASE-Typo.
/
* Convenience method for setting the 'filename' option for the exporting module. Equivalent to:
*
* exporting.setOption("filename", true);
*
* The filename, without extension, to use for the exported chart. Defaults to "chart".
* @param fileName The filename, without extension, to use for the exported chart.
* @return A reference to this {@link Exporting} instance for convenient method chaining. /
public Exporting setFilename(String fileName) {
return this.setOption("fileName", fileName);
}
The N in fileName must be a lowercase n
:)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wonder why the setFilename() Methode does't work and saw that that is due to a little CASE-Typo.
/
* Convenience method for setting the 'filename' option for the exporting module. Equivalent to:
*
* The filename, without extension, to use for the exported chart. Defaults to "chart".
* @param fileName The filename, without extension, to use for the exported chart.
* @return A reference to this {@link Exporting} instance for convenient method chaining.
/
public Exporting setFilename(String fileName) {
return this.setOption("fileName", fileName);
}
The N in fileName must be a lowercase n
:)