瀏覽代碼

HUE-4077 [editor] Decimal not supported in bar charts

Enrico Berti 9 年之前
父節點
當前提交
6ec3fe2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      desktop/libs/notebook/src/notebook/templates/editor_components.mako

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -2404,7 +2404,7 @@ ${ hueIcons.symbols() }
             _data.push({
               series: _plottedSerie,
               x: _isXDate ? moment(item[_idxLabel]) : hueUtils.html2text(item[_idxLabel]),
-              y: item[_idxValue],
+              y: item[_idxValue]*1,
               obj: item
             });
           });