From 268539650e1cf7a13ae33380028a0d9eb7a58273 Mon Sep 17 00:00:00 2001 From: Jesse Yang Date: Tue, 8 Sep 2020 17:38:47 -0700 Subject: [PATCH] fix: add back nvd3 missing css (#776) --- .../plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js index 351d74bf4514..7f2a334a3fe4 100644 --- a/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js +++ b/superset-frontend/temporary_superset_ui/superset-ui/plugins/legacy-preset-chart-nvd3/src/NVD3Vis.js @@ -24,14 +24,17 @@ import mathjs from 'mathjs'; import moment from 'moment'; import PropTypes from 'prop-types'; import { - isDefined, t, + isDefined, getTimeFormatter, smartDateVerboseFormatter, getNumberFormatter, NumberFormats, CategoricalColorNamespace, } from '@superset-ui/core'; + +import 'nvd3-fork/build/nv.d3.css'; + /* eslint-disable-next-line */ import ANNOTATION_TYPES, { applyNativeColumns } from './vendor/superset/AnnotationTypes'; import isTruthy from './utils/isTruthy';