Skip to content

Commit 3019acd

Browse files
clean up trace selector (#455)
1 parent a20b377 commit 3019acd

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

src/components/widgets/TraceTypeSelector.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,9 @@ class TraceTypeSelector extends Component {
122122
}
123123

124124
render() {
125+
const {localize: _} = this.context;
125126
return (
126-
<Modal title="Select Chart Type">
127+
<Modal title={_('Select Trace Type')}>
127128
<div className="trace-grid">{this.renderCategories()}</div>
128129
</Modal>
129130
);

src/lib/traceTypes.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ export const categoryLayout = _ => [
4040
chartCategory(_).SIMPLE,
4141
chartCategory(_).WEB_GL,
4242
chartCategory(_).DISTRIBUTIONS,
43-
chartCategory(_).FINANCIAL,
44-
chartCategory(_).MAPS,
4543
chartCategory(_).SPECIALIZED,
44+
chartCategory(_).MAPS,
45+
chartCategory(_).FINANCIAL,
4646
];
4747

4848
export const traceTypes = _ => [
@@ -195,13 +195,13 @@ export const traceTypes = _ => [
195195
{
196196
value: 'scatterpolargl',
197197
icon: 'scatterpolar',
198-
label: _('Scatter Polar GL'),
199-
category: chartCategory(_).WEB_GL,
200-
},
201-
{
202-
value: 'heatmapgl',
203-
icon: 'heatmap',
204-
label: _('Heatmap GL'),
198+
label: _('Polar Scatter GL'),
205199
category: chartCategory(_).WEB_GL,
206200
},
201+
// {
202+
// value: 'heatmapgl',
203+
// icon: 'heatmap',
204+
// label: _('Heatmap GL'),
205+
// category: chartCategory(_).WEB_GL,
206+
// },
207207
];

0 commit comments

Comments
 (0)