mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: adding missing examples in the gallery for several chart types (#22597)
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 42 KiB |
@@ -21,6 +21,7 @@ import buildQuery from './buildQuery';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example from './images/example.jpg';
|
||||
import { EchartsFunnelChartProps, EchartsFunnelFormData } from './types';
|
||||
|
||||
export default class EchartsFunnelChartPlugin extends ChartPlugin<
|
||||
@@ -49,6 +50,7 @@ export default class EchartsFunnelChartPlugin extends ChartPlugin<
|
||||
description: t(
|
||||
'Showcases how a metric changes as the funnel progresses. This classic chart is useful for visualizing drop-off between stages in a pipeline or lifecycle.',
|
||||
),
|
||||
exampleGallery: [{ url: example }],
|
||||
name: t('Funnel Chart'),
|
||||
tags: [
|
||||
t('Business'),
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 36 KiB |
@@ -20,6 +20,8 @@ import { t, ChartMetadata, ChartPlugin, Behavior } from '@superset-ui/core';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example1 from './images/example1.jpg';
|
||||
import example2 from './images/example2.jpg';
|
||||
import buildQuery from './buildQuery';
|
||||
import { EchartsGaugeChartProps, EchartsGaugeFormData } from './types';
|
||||
|
||||
@@ -39,6 +41,7 @@ export default class EchartsGaugeChartPlugin extends ChartPlugin<
|
||||
description: t(
|
||||
'Uses a gauge to showcase progress of a metric towards a target. The position of the dial represents the progress and the terminal value in the gauge represents the target value.',
|
||||
),
|
||||
exampleGallery: [{ url: example1 }, { url: example2 }],
|
||||
name: t('Gauge Chart'),
|
||||
tags: [
|
||||
t('Multi-Variables'),
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
@@ -20,6 +20,7 @@ import { t, ChartMetadata, ChartPlugin, Behavior } from '@superset-ui/core';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example from './images/example.jpg';
|
||||
import buildQuery from './buildQuery';
|
||||
|
||||
export default class EchartsGraphChartPlugin extends ChartPlugin {
|
||||
@@ -34,6 +35,7 @@ export default class EchartsGraphChartPlugin extends ChartPlugin {
|
||||
description: t(
|
||||
'Displays connections between entities in a graph structure. Useful for mapping relationships and showing which nodes are important in a network. Graph charts can be configured to be force-directed or circulate. If your data has a geospatial component, try the deck.gl Arc chart.',
|
||||
),
|
||||
exampleGallery: [{ url: example }],
|
||||
name: t('Graph Chart'),
|
||||
tags: [
|
||||
t('Aesthetic'),
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 67 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
@@ -22,6 +22,8 @@ import buildQuery from './buildQuery';
|
||||
import controlPanel from './controlPanel';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import example1 from './images/example1.jpg';
|
||||
import example2 from './images/example2.jpg';
|
||||
import { EchartsRadarChartProps, EchartsRadarFormData } from './types';
|
||||
|
||||
export default class EchartsRadarChartPlugin extends ChartPlugin<
|
||||
@@ -50,6 +52,7 @@ export default class EchartsRadarChartPlugin extends ChartPlugin<
|
||||
description: t(
|
||||
'Visualize a parallel set of metrics across multiple groups. Each group is visualized using its own line of points and each metric is represented as an edge in the chart.',
|
||||
),
|
||||
exampleGallery: [{ url: example1 }, { url: example2 }],
|
||||
name: t('Radar Chart'),
|
||||
tags: [
|
||||
t('Business'),
|
||||
|
||||
Reference in New Issue
Block a user