When trying to add export buttons to a chart on a page which also uses some other JS libraries, as which come from myFaces, I got this JS error in exprting.js: "k is null" respectively "config is null" in exporting.src.js. The error did occor in the following line starting with "typeof":
Code: Select all
// extend the options by those values that can be expressed in a number or array config
config = point.config;
pointOptions = extend(
typeof config == 'object' && config.constructor != Array && point.config, {
x: point.x,
y: point.y,
name: point.name
}
);
Code: Select all
config && typeof config == 'object' && config.constructor != Array, {
Thanks for your attention.
... Michael