官术网_书友最值得收藏!

Sorting series

A chart does not always look like what you had in mind. In some cases, you may want to see data sorted from high to low values, while in other situations, you want to see the categories to be displayed in a more logical order. For example, in the following bar chart, the quarters are sorted from last (Q4) to first (Q1). To change this, you can of course adjust the data model in the spreadsheet, like we did in the Using the OHLC chart and Candlestick chart recipe. An easier and better way is to use the Sorting settings for the bar chart component.

Note

Sorting is available in the following components: line chart, pie chart, column chart, stacked column chart, bar chart, stacker bar chart, combination chart, area chart, stacked area chart, radar chart, and the filled radar chart.

Getting ready

You can reuse any of the dashboards you created earlier, as long as they contain one of the components listed above.

How to do it...

  1. Select the component, go to the Behavior tab, and select the sub-tab Common.
  2. Select Enable Sorting.
  3. Select By Category Labels.
  4. Select Reverse Order.

How it works...

As you can see in the previous screenshot, the order of the quarters has changed. In Dashboard Design, the first category is by default the lowest category on its axis. With the reverse order setting, this can be changed.

There is more...

Besides sorting on category labels, it is also possible to sort by data. If you have more than one series, you have to choose one of these series to base the sorting order on.

The following chart shows the data shown in an ascending order:

主站蜘蛛池模板: 常宁市| 尚志市| 同德县| 阿勒泰市| 琼海市| 阜城县| 惠东县| 霍林郭勒市| 临沧市| 山东省| 布尔津县| 阳曲县| 大丰市| 威海市| 营山县| 石嘴山市| 安泽县| 鄂托克前旗| 安阳市| 习水县| 永宁县| 延安市| 庆城县| 类乌齐县| 锦屏县| 简阳市| 松潘县| 永昌县| 扎囊县| 镇远县| 宁乡县| 新民市| 孟连| 华坪县| 新丰县| 肃宁县| 永德县| 广水市| 迁西县| 多伦县| 南雄市|