i try change duration property multichart not work. example
{ chart: { type: 'multichart', duration: 500, ... } }
angular-nvd3 wrapper nvd3, can provide nvd3 provides. looking @ nvd3 documentation, seems there no duration option multicharts.
http://nvd3-community.github.io/nvd3/examples/documentation.html#multichart
update: multichart composed of 6 subcharts (lines1, lines2, bars1, bars2, stack1, , stack2). each of charts has own duration options.
so lines1, lines2, bars1, bars2, stack1, , stack2 can set duration. can behavior want.
{ chart: { type: 'multichart', ... bars1: { duration: 2000 }, bars2: { duration: 2000 }, ... } }
http://plnkr.co/edit/23fztmoex46pzdaw5xii?p=preview
i think there 2 bugs here.
- nvd3's multichart model should have master duration option sets subcharts durations
- until that's fixed, angular-nvd3's multichart example should set duration option of subcharts
Comments
Post a Comment