c3
c3 copied to clipboard
Modify data.keys.value with data.json and category axis while chart.load()
Hi,
Cant figure out how to redefine key.value with chart load keys. Look at http://jsfiddle.net/norecces/1jj8y21m/1/
on chart.generate I have
keys: {
x: 'name', // it's possible to specify 'x' when category axis
value: ['upload', 'download'],
}
and then I want to update only keys.value
chart.load({
keys: {
x: 'name',
value: ['upload'],
}
});
Which I thought should remove 'download' seria. Any suggestions ?
Try this
chart.load({
keys: {
x: 'name',
value: ['upload'],
},
unload: ['download']
});
Hi there! We try to keep the issue queue clear for specific code-related problems with C3, Could you please try asking your question on either the Google Group or Gitter instead?
Thank you!