I am using angularjs-nvd3-directives
to create some pie charts and stacked bar charts and was wondering how to change the transition duration or even the type, but the duration is the one I'm primarily looking to adjust.
Here is my code:
<nvd3-multi-bar-horizontal-chart
data="stackedData"
id="stackedExample2"
showvalues="true"
valueformat="valueFormatFunction()"
showlegend="true"
tooltips="true"
showlabels="true"
stacked="true"
color="colourFunction()"
legendcolor="colourFunction()"
showxaxis="true"
showyaxis="true"
x="xFunctionBar()"
showcontrols="false"
interactive="true"
margin="{left:100}"
transitionduration="1000">
<svg></svg>
</nvd3-multi-bar-horizontal-chart>
The transitionduration
only affects the initial load of the graph, but when the data changes and the chart is re-drawn the bars or pie slices transition to the new values too quickly. I would like to be able to slow this down and alter the transition type if possible. It currently defaults to transitioning from top left to bottom right - which is fine for a slow chart load but the transitions look terrible.
I have tried delay="500"
but that doesn't seem to do anything. Am I missing something here?