kt3k on gh-pages
Deploy c3js/c3 to github.com/c3… (compare)
kt3k on master
Typo fix (#2568) (compare)
I am trying to create multiple c3js graph in a page. Once one graph is loaded am trying to load other graphs. But when i try to load third chart first two charts are flickering. It is annoying for my page. As analyzed, c3's generate function vanish the div and regenerate the entire graph, But my requirement is existing chart object retain is enough. Please Someone guide me to solve this.
function loadingGraph() {
chart21.load({
columns: [ values1]
});
}
loadGraph();
Thanks,
],
type: 'bar'
},
bar: {
//width: {
// ratio: 0.5 // this makes bar width 50% of length between ticks
//}
// or
width: 20 // this makes bar width 100px
},
axis: {
y: {
min: 0,
max: max,
label: {
text: 'aaaaa',
position: 'outer-top'
},
padding: {
top: 0,
bottom: 0
},
tick: {
count: 5
}
}
},
grid: {
x: {
lines: line
},
y: {
lines: [{value: 0}]
}
}
});
id
s and generate charts specifying those id
s, and each chart works independently.
[['a', 5], ['b',3],['c',7]]
and I have a donut chart. Then data becomes [['a', 7], ['f',4],['c',5]]
.load(new_data)
but also an .unload(['b'])