diff --git a/src/components/widgets/TraceTypeSelector.js b/src/components/widgets/TraceTypeSelector.js index 77969f7fa..d1bcf6abb 100644 --- a/src/components/widgets/TraceTypeSelector.js +++ b/src/components/widgets/TraceTypeSelector.js @@ -122,8 +122,9 @@ class TraceTypeSelector extends Component { } render() { + const {localize: _} = this.context; return ( - +
{this.renderCategories()}
); diff --git a/src/lib/traceTypes.js b/src/lib/traceTypes.js index b3791ccaa..95d748990 100644 --- a/src/lib/traceTypes.js +++ b/src/lib/traceTypes.js @@ -40,9 +40,9 @@ export const categoryLayout = _ => [ chartCategory(_).SIMPLE, chartCategory(_).WEB_GL, chartCategory(_).DISTRIBUTIONS, - chartCategory(_).FINANCIAL, - chartCategory(_).MAPS, chartCategory(_).SPECIALIZED, + chartCategory(_).MAPS, + chartCategory(_).FINANCIAL, ]; export const traceTypes = _ => [ @@ -195,13 +195,13 @@ export const traceTypes = _ => [ { value: 'scatterpolargl', icon: 'scatterpolar', - label: _('Scatter Polar GL'), - category: chartCategory(_).WEB_GL, - }, - { - value: 'heatmapgl', - icon: 'heatmap', - label: _('Heatmap GL'), + label: _('Polar Scatter GL'), category: chartCategory(_).WEB_GL, }, + // { + // value: 'heatmapgl', + // icon: 'heatmap', + // label: _('Heatmap GL'), + // category: chartCategory(_).WEB_GL, + // }, ];