Skip to content

Commit

Permalink
Revert "chore: remove V2 and add Deprecated (apache#1250)" (apache#1253)
Browse files Browse the repository at this point in the history
This reverts commit bb10f9e1fefce597a4ab87580d78f712f2c7cd77.
  • Loading branch information
suddjian authored and zhaoyongjie committed Nov 17, 2021
1 parent 5167eb6 commit 838371a
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 (Deprecated)'),
name: t('Pivot Table'),
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 (Deprecated)'),
name: t('Treemap'),
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'),
name: t('Treemap v2'),
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'),
name: t('Pivot Table v2'),
tags: [t('Additive'), t('Report'), t('Tabular'), t('Highly-used')],
thumbnail,
});
Expand Down

0 comments on commit 838371a

Please sign in to comment.