Skip to content

Commit

Permalink
chore: remove V2 and add Deprecated (apache#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenLYZ authored and zhaoyongjie committed Nov 24, 2021
1 parent a52dec2 commit f436fbc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const metadata = new ChartMetadata({
description: t(`Used to summarize a set of data by grouping together multiple statistics along two axes. Examples: Sales numbers by region and month, tasks by status and assignee, active users by age and location.
This chart is being deprecated and we recommend checking out Pivot Table V2 instead!`),
name: t('Pivot Table'),
name: t('Pivot Table (Deprecated)'),
tags: [t('Legacy')],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const metadata = new ChartMetadata({
'Shows the composition of a dataset by segmenting a given rectangle as smaller rectangles with areas proportional to their value or contribution to the whole. Those rectangles may also, in turn, be further segmented hierarchically.',
),
exampleGallery: [{ url: example1 }, { url: example2 }, { url: example3 }, { url: example4 }],
name: t('Treemap'),
name: t('Treemap (Deprecated)'),
tags: [t('Categorical'), t('Legacy'), t('Multi-Levels'), t('Percentages'), t('Proportional')],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export default class EchartsTreemapChartPlugin extends ChartPlugin<
'Show hierarchical relationships of data, with with the value represented by area, showing proportion and contribution to the whole.',
),
exampleGallery: [{ url: example1 }, { url: example2 }],
name: t('Treemap v2'),
name: t('Treemap'),
tags: [
t('Aesthetic'),
t('Categorical'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default class PivotTableChartPlugin extends ChartPlugin<
description: t(
'Used to summarize a set of data by grouping together multiple statistics along two axes. Examples: Sales numbers by region and month, tasks by status and assignee, active users by age and location. Not the most visually stunning visualization, but highly informative and versatile.',
),
name: t('Pivot Table v2'),
name: t('Pivot Table'),
tags: [t('Additive'), t('Report'), t('Tabular'), t('Highly-used')],
thumbnail,
});
Expand Down

0 comments on commit f436fbc

Please sign in to comment.