mirror of https://github.com/apache/superset.git
chore: fix lint
This commit is contained in:
parent
f0369fda6e
commit
3d54d19723
|
@ -24,8 +24,7 @@ import controlPanel from './controlPanel';
|
|||
const metadata = new ChartMetadata({
|
||||
category: t('Map'),
|
||||
credits: ['https://uber.github.io/deck.gl'],
|
||||
description:
|
||||
t('Plot the distance (like flight paths) between origin and destination.'),
|
||||
description: t('Plot the distance (like flight paths) between origin and destination.'),
|
||||
name: t('deck.gl Arc'),
|
||||
thumbnail,
|
||||
useLegacyApi: true,
|
||||
|
|
|
@ -24,8 +24,9 @@ import controlPanel from './controlPanel';
|
|||
const metadata = new ChartMetadata({
|
||||
category: t('Map'),
|
||||
credits: ['https://uber.github.io/deck.gl'],
|
||||
description:
|
||||
t('Overlays a hexagonal grid on a map, and aggregates data within the boundary of each cell.'),
|
||||
description: t(
|
||||
'Overlays a hexagonal grid on a map, and aggregates data within the boundary of each cell.',
|
||||
),
|
||||
name: t('deck.gl 3D Hexagon'),
|
||||
thumbnail,
|
||||
useLegacyApi: true,
|
||||
|
|
|
@ -28,13 +28,7 @@ const metadata = new ChartMetadata({
|
|||
name: t('deck.gl Polygon'),
|
||||
thumbnail,
|
||||
useLegacyApi: true,
|
||||
tags: [
|
||||
t('3D'),
|
||||
t('Experimental'),
|
||||
t('Geo'),
|
||||
t('Multi-Dimensions'),
|
||||
t('deckGL'),
|
||||
],
|
||||
tags: [t('3D'), t('Experimental'), t('Geo'), t('Multi-Dimensions'), t('deckGL')],
|
||||
});
|
||||
|
||||
export default class PolygonChartPlugin extends ChartPlugin {
|
||||
|
|
|
@ -24,8 +24,9 @@ import controlPanel from './controlPanel';
|
|||
const metadata = new ChartMetadata({
|
||||
category: t('Map'),
|
||||
credits: ['https://uber.github.io/deck.gl'],
|
||||
description:
|
||||
t('A map that takes rendering circles with a variable radius at latitude/longitude coordinates'),
|
||||
description: t(
|
||||
'A map that takes rendering circles with a variable radius at latitude/longitude coordinates',
|
||||
),
|
||||
name: t('deck.gl Scatterplot'),
|
||||
thumbnail,
|
||||
useLegacyApi: true,
|
||||
|
|
|
@ -24,18 +24,13 @@ import controlPanel from './controlPanel';
|
|||
const metadata = new ChartMetadata({
|
||||
category: t('Map'),
|
||||
credits: ['https://uber.github.io/deck.gl'],
|
||||
description:
|
||||
t('Aggregates data within the boundary of grid cells and maps the aggregated values to a dynamic color scale'),
|
||||
description: t(
|
||||
'Aggregates data within the boundary of grid cells and maps the aggregated values to a dynamic color scale',
|
||||
),
|
||||
name: t('deck.gl Screen Grid'),
|
||||
thumbnail,
|
||||
useLegacyApi: true,
|
||||
tags: [
|
||||
t('Comparison'),
|
||||
t('Experimental'),
|
||||
t('Intensity'),
|
||||
t('Density'),
|
||||
t('deckGL'),
|
||||
],
|
||||
tags: [t('Comparison'), t('Experimental'), t('Intensity'), t('Density'), t('deckGL')],
|
||||
});
|
||||
|
||||
export default class ScreengridChartPlugin extends ChartPlugin {
|
||||
|
|
|
@ -77,8 +77,8 @@ function getStepSeconds(step, start) {
|
|||
}
|
||||
|
||||
export function getPlaySliderParams(timestamps, timeGrain) {
|
||||
const minTimestamp = moment(Number(timestamps.reduce((a,b) => a < b ? a : b)));
|
||||
const maxTimestamp = moment(Number(timestamps.reduce((a,b) => a > b ? a : b)));
|
||||
const minTimestamp = moment(Number(timestamps.reduce((a, b) => (a < b ? a : b))));
|
||||
const maxTimestamp = moment(Number(timestamps.reduce((a, b) => (a > b ? a : b))));
|
||||
let step;
|
||||
let reference;
|
||||
|
||||
|
|
Loading…
Reference in New Issue