我在bundle.js文件中遇到了循環類型錯誤。 "Cannot read property 'map' of undefined" in bundle.js for BarChart 一個對象是未定義的,並試圖映射到一個數組,但我不確定這是從哪裏來的,因爲失敗是在縮小腳本中(在bundle.js中)。我不想映射任何東西,並且數據參數已經請求了一個數組。這個條形圖代碼直接來自github上的一個例
我嘗試借用在nvd3餅圖等中使用的.tooltipContent(function(key, y, e, graph) { return 'Some String' })和.tooltip(function(key, y, e, graph) { return 'Some String' })函數,但它們似乎沒有運行Sunburst圖表。 如何自定義nvd3 sunburst圖表的工具提示?