Skip to content
Snippets Groups Projects
Commit ebd56502 authored by Tom Robinson's avatar Tom Robinson
Browse files

Cleanup deprecated settings

parent c756db94
No related branches found
No related tags found
No related merge requests found
......@@ -206,40 +206,13 @@ export const GRAPH_BUBBLE_SETTINGS = {
export const LINE_SETTINGS = {
// DEPRECATED: moved to series settings
"line.interpolate": {
// section: t`Display`,
// title: t`Style`,
// widget: "select",
// props: {
// options: [
// { name: t`Line`, value: "linear" },
// { name: t`Curve`, value: "cardinal" },
// { name: t`Step`, value: "step-after" },
// ],
// },
getDefault: () => "linear",
default: "linear",
},
// DEPRECATED: moved to series settings
"line.marker_enabled": {
// section: t`Display`,
// title: t`Show point markers on lines`,
// widget: "toggle",
},
};
export const LINE_SETTINGS_2 = {
"line.marker_enabled": {},
// DEPRECATED: moved to series settings
"line.missing": {
// section: t`Display`,
// title: t`Replace missing values with`,
// widget: "select",
default: "interpolate",
// getProps: (series, vizSettings) => ({
// options: [
// { name: t`Zero`, value: "zero" },
// { name: t`Nothing`, value: "none" },
// { name: t`Linear Interpolated`, value: "interpolate" },
// ],
// }),
},
};
......
......@@ -9,7 +9,6 @@ import {
LINE_SETTINGS,
STACKABLE_SETTINGS,
GRAPH_GOAL_SETTINGS,
LINE_SETTINGS_2,
GRAPH_COLORS_SETTINGS,
GRAPH_AXIS_SETTINGS,
} from "../lib/settings/graph";
......@@ -25,7 +24,6 @@ export default class AreaChart extends LineAreaBarChart {
...LINE_SETTINGS,
...STACKABLE_SETTINGS,
...GRAPH_GOAL_SETTINGS,
...LINE_SETTINGS_2,
...GRAPH_COLORS_SETTINGS,
...GRAPH_AXIS_SETTINGS,
};
......
......@@ -8,7 +8,6 @@ import {
GRAPH_DATA_SETTINGS,
LINE_SETTINGS,
GRAPH_GOAL_SETTINGS,
LINE_SETTINGS_2,
GRAPH_COLORS_SETTINGS,
GRAPH_AXIS_SETTINGS,
} from "../lib/settings/graph";
......@@ -23,7 +22,6 @@ export default class LineChart extends LineAreaBarChart {
...GRAPH_DATA_SETTINGS,
...LINE_SETTINGS,
...GRAPH_GOAL_SETTINGS,
...LINE_SETTINGS_2,
...GRAPH_COLORS_SETTINGS,
...GRAPH_AXIS_SETTINGS,
};
......
......@@ -8,7 +8,6 @@ import {
GRAPH_DATA_SETTINGS,
LINE_SETTINGS,
GRAPH_GOAL_SETTINGS,
LINE_SETTINGS_2,
GRAPH_COLORS_SETTINGS,
GRAPH_AXIS_SETTINGS,
} from "../lib/settings/graph";
......@@ -23,7 +22,6 @@ export default class LineChart extends LineAreaBarChart {
...GRAPH_DATA_SETTINGS,
...LINE_SETTINGS,
...GRAPH_GOAL_SETTINGS,
...LINE_SETTINGS_2,
...GRAPH_COLORS_SETTINGS,
...GRAPH_AXIS_SETTINGS,
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment