diff --git a/en/option/series/bar.md b/en/option/series/bar.md index 1aa31aed4..da42c93ff 100644 --- a/en/option/series/bar.md +++ b/en/option/series/bar.md @@ -80,6 +80,10 @@ Background style of each bar if [showBackground](~series-bar.showBackground) is ## stack(string) = null Name of stack. On the same category axis, the series with the same `stack` name would be put on top of each other. +## groupOrder(string) = null +{{ use: partial-version(version = "5.1.0") }} +When multiple series are configured on the same category axis, cluster and stacked intra group sorting are supported. The optional parameters are 'ASC' (ascending) and 'desc' (descending). + {{ use: partial-cursor }} {{use: partial-barGrid( diff --git a/zh/option/series/bar.md b/zh/option/series/bar.md index cd7a84aa5..38c8c870b 100644 --- a/zh/option/series/bar.md +++ b/zh/option/series/bar.md @@ -170,6 +170,10 @@ option = { ## stack(string) = null 数据堆叠,同个类目轴上系列配置相同的`stack`值可以堆叠放置。 +## groupOrder(string) = null +{{ use: partial-version(version = "5.1.0") }} +同个类目轴上配置多个series时,支持簇状、堆叠组内排序,可选参数为'asc'(升序)、'desc'(降序)。 + {{ use: partial-cursor }} {{use: partial-barGrid(