NVD3图表栏不适合堆叠数据系列的不一致有序键

时间:2015-10-22 19:12:47

标签: nvd3.js

当JSON对象键(对于系列)没有一致排序时,NDV3图表栏不能正确堆叠。 read_csv("path/to/file",col_types = cols(.default = col_character())) "一个":" BB"," CC"," AA" & "两个":" CC"," AA"," BB" 而不是&#34 ; AA"," BB"," CC" 两个对象的顺序相同。

请参阅jsfiddle

这会有解决方法吗?

improperly stacked bars

properly stacked bars

unsorted_keys_data

0 个答案:

没有答案