From 961a0c6a7e3be422ba6e2a5d7bfab988451dfe85 Mon Sep 17 00:00:00 2001 From: Krist Wongsuphasawat Date: Sat, 18 May 2019 15:22:30 -0700 Subject: [PATCH] fix: gridlines --- packages/superset-ui-preset-chart-xy/src/BoxPlot/BoxPlot.tsx | 2 -- packages/superset-ui-preset-chart-xy/src/Line/Line.tsx | 2 -- .../superset-ui-preset-chart-xy/src/ScatterPlot/ScatterPlot.tsx | 2 -- 3 files changed, 6 deletions(-) diff --git a/packages/superset-ui-preset-chart-xy/src/BoxPlot/BoxPlot.tsx b/packages/superset-ui-preset-chart-xy/src/BoxPlot/BoxPlot.tsx index bafac12f4..f14041749 100644 --- a/packages/superset-ui-preset-chart-xy/src/BoxPlot/BoxPlot.tsx +++ b/packages/superset-ui-preset-chart-xy/src/BoxPlot/BoxPlot.tsx @@ -12,8 +12,6 @@ import Encoder, { ChannelTypes, Encoding, Outputs } from './Encoder'; import { Dataset, PlainObject } from '../encodeable/types/Data'; import { PartialSpec } from '../encodeable/types/Specification'; -chartTheme.gridStyles.stroke = '#f1f3f5'; - const DEFAULT_MARGIN = { top: 20, right: 20, left: 20, bottom: 20 }; const defaultProps = { diff --git a/packages/superset-ui-preset-chart-xy/src/Line/Line.tsx b/packages/superset-ui-preset-chart-xy/src/Line/Line.tsx index 936284a0b..cbf3d950d 100644 --- a/packages/superset-ui-preset-chart-xy/src/Line/Line.tsx +++ b/packages/superset-ui-preset-chart-xy/src/Line/Line.tsx @@ -21,8 +21,6 @@ import ChartLegend, { Hooks as LegendHooks } from '../components/legend/ChartLeg import { PartialSpec } from '../encodeable/types/Specification'; import DefaultTooltipRenderer from './DefaultTooltipRenderer'; -chartTheme.gridStyles.stroke = '#f1f3f5'; - const DEFAULT_MARGIN = { top: 20, right: 20, left: 20, bottom: 20 }; export interface TooltipProps { diff --git a/packages/superset-ui-preset-chart-xy/src/ScatterPlot/ScatterPlot.tsx b/packages/superset-ui-preset-chart-xy/src/ScatterPlot/ScatterPlot.tsx index e267799ec..4a1d53038 100644 --- a/packages/superset-ui-preset-chart-xy/src/ScatterPlot/ScatterPlot.tsx +++ b/packages/superset-ui-preset-chart-xy/src/ScatterPlot/ScatterPlot.tsx @@ -13,8 +13,6 @@ import { Dataset, PlainObject } from '../encodeable/types/Data'; import ChartLegend from '../components/legend/ChartLegend'; import { PartialSpec } from '../encodeable/types/Specification'; -chartTheme.gridStyles.stroke = '#f1f3f5'; - const DEFAULT_MARGIN = { top: 20, right: 20, left: 20, bottom: 20 }; const defaultProps = {