Skip to content

Commit

Permalink
feat(plugin-chart-echarts): create separate entry points for timeseri…
Browse files Browse the repository at this point in the history
…es (2nd) (apache#1262)

* feat(plugin-chart-pivot-table): add sort by result to data pane

* Use getMetricLabel helper function

* feat(plugin-chart-echarts): create separate entry points for timeseries

* Mark nvd3 area chart as deprecated

* chore: improve metadata for ts charts

* chore: rename

* replace step charts with single entrypoint

* add examples to remaining plugins

* Rearrange tags

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
  • Loading branch information
3 people authored and zhaoyongjie committed Nov 25, 2021
1 parent 194f411 commit 2a56d2f
Show file tree
Hide file tree
Showing 31 changed files with 1,778 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const metadata = new ChartMetadata({
t('Time'),
t('Trend'),
t('nvd3'),
t('Highly-used'),
t('Deprecated'),
],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ const metadata = new ChartMetadata({
name: t('Time-series Bar Chart'),
supportedAnnotationTypes: [ANNOTATION_TYPES.INTERVAL, ANNOTATION_TYPES.EVENT],
tags: [
t('Advanced-Analytics'),
t('Percentages'),
t('Proportional'),
t('Stacked'),
t('Time'),
t('Trend'),
t('Stacked'),
t('Vertical'),
t('Percentages'),
t('Proportional'),
t('Advanced-Analytics'),
],
thumbnail,
useLegacyApi: true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const metadata = new ChartMetadata({
ANNOTATION_TYPES.EVENT,
ANNOTATION_TYPES.FORMULA,
],
tags: [t('Aesthetic'), t('Legacy'), t('nvd3')],
tags: [t('Aesthetic'), t('Legacy'), t('nvd3'), t('Deprecated')],
thumbnail,
useLegacyApi: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default class EchartsTimeseriesChartPlugin extends ChartPlugin<
AnnotationType.Interval,
AnnotationType.Timeseries,
],
name: t('Mixed timeseries chart'),
name: t('Mixed Time-Series'),
thumbnail,
tags: [
t('Advanced-Analytics'),
Expand Down
Loading

0 comments on commit 2a56d2f

Please sign in to comment.