We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.js?8a37:1 Uncaught (in promise) TypeError: t.error is not a function
series={{ markers: [ { attribute: 'image', scale: { closed: '/public/img/icon-np-1.png', activeUntil2018: '/public/img/icon-np-1.png' }, values: this.state.markers.reduce((p, c, i) => { const pp = p; console.log(pp); pp[i] = c.status; return pp; }, {}), legend: { horizontal: true, title: 'Nuclear power station status', labelRender: (v) => { if (false) { console.log('dd'); } return { closed: 'Closed', activeUntil2018: 'Scheduled for shut down before 2018', activeUntil2022: 'Scheduled for shut down before 2022' }[v]; } } } ] }}
I can't figure out why.
The text was updated successfully, but these errors were encountered:
Found this on SO: https://stackoverflow.com/a/40303232
Sorry, something went wrong.
Merge pull request #79 from kyleguate/patch-1
5fcade9
Update README.markdown
Facing the same issue. Any update on this problem? I faced it while I try use marker icon with react
series={{ markers: [ { attribute: "image", legend: { horizontal: true, labelRender: function noRefCheck() {}, title: "Nuclear power station status", }, scale: { _iconMarker: icons.marker, }, values: { 0: icons.marker, // ...handleRenderMarker(), }, }, ], }}
No branches or pull requests
index.js?8a37:1 Uncaught (in promise) TypeError: t.error is not a function
series={{
markers: [
{
attribute: 'image',
scale: {
closed: '/public/img/icon-np-1.png',
activeUntil2018: '/public/img/icon-np-1.png'
},
values: this.state.markers.reduce((p, c, i) => {
const pp = p;
console.log(pp);
pp[i] = c.status;
return pp;
}, {}),
legend: {
horizontal: true,
title: 'Nuclear power station status',
labelRender: (v) => {
if (false) {
console.log('dd');
}
return {
closed: 'Closed',
activeUntil2018: 'Scheduled for shut down
before 2018',
activeUntil2022: 'Scheduled for shut down
before 2022'
}[v];
}
}
}
]
}}
I can't figure out why.
The text was updated successfully, but these errors were encountered: