You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using nv.models.multiBarChart and I'm saving it to a global variable supplier_graph to use it outside.
I inspected the element and I see that, even if the chart is rendered, supplier_graph.multibar.__rendered is false. PS: I now it's a private variable, but I'm disperate :)
Background: I want to launch a function only when all the charts are rendered. supplier_graph.dispatch.on('renderEnd', supplierGraphRendered); works only if supplier_graph is not already rendered. If it's already rendered, I need to fire supplierGraphRendered() by hand.
How can I know if the chart is rendered?
PS: I have nvd3 version 1.8.6-dev and d3 version 3.4.2, but I checked also with 5.9.2 without success
The text was updated successfully, but these errors were encountered:
I'm using
nv.models.multiBarChart
and I'm saving it to a global variablesupplier_graph
to use it outside.I inspected the element and I see that, even if the chart is rendered,
supplier_graph.multibar.__rendered
is false. PS: I now it's a private variable, but I'm disperate :)Background: I want to launch a function only when all the charts are rendered.
supplier_graph.dispatch.on('renderEnd', supplierGraphRendered);
works only if supplier_graph is not already rendered. If it's already rendered, I need to firesupplierGraphRendered()
by hand.How can I know if the chart is rendered?
PS: I have nvd3 version 1.8.6-dev and d3 version 3.4.2, but I checked also with 5.9.2 without success
The text was updated successfully, but these errors were encountered: