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
When I try to remove the Legend. For example:
legend: { show: false },
I get an "Uncaught TypeError: Cannot call method 'selectAll' of null" error. The variable "legend" seem to be NULL
l = legend.selectAll('.legend-item')
Uncaught TypeError: Cannot call method 'selectAll' of null c3.js:2779 updateLegend c3.js:2779 redraw c3.js:2489 init c3.js:1868 c3.generate c3.js:3118
I am using C3.js downloaded March 4, 2014.
var chart = c3.generate({ bindto: '#chart', data: { x : 'date', x_format : '%Y%m%d', columns: [ ['date', '20130101', '20130102', '20130103', '20130104', '20130105', '20130106'], ['sample', 30, 200, 100, 400, 150, 250] ], type: 'bar' }, axis : { x : { type : 'timeseries', tick : { format : "%b %d %Y" } } }, legend: { show: false } });
Thanks, Michael
The text was updated successfully, but these errors were encountered:
You can close this bug. I just downloaded release 0.1.15, and it seems to have fixed this issue.
Sorry, something went wrong.
OK, I close this. Thank you!
No branches or pull requests
When I try to remove the Legend. For example:
I get an "Uncaught TypeError: Cannot call method 'selectAll' of null" error. The variable "legend" seem to be NULL
Uncaught TypeError: Cannot call method 'selectAll' of null c3.js:2779
updateLegend c3.js:2779
redraw c3.js:2489
init c3.js:1868
c3.generate c3.js:3118
I am using C3.js downloaded March 4, 2014.
Thanks,
Michael
The text was updated successfully, but these errors were encountered: