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