分组条形图:"bottom"组名位置
Grouped bar chart: "bottom" group name position
我有一个 Vega Lite 分组条形图:Vega Editor link 如下所示:
我想将“货币”组名称(UST
、BTC
、ETH
等)移动到图表底部,以便出现货币标签下方 各自的柱状图(好像是正常的 X 轴)。
我该如何完成?
您可以通过将 "header": {"orient": "bottom"}
添加到 column
编码 (editor link) 来实现:
我有一个 Vega Lite 分组条形图:Vega Editor link 如下所示:
我想将“货币”组名称(UST
、BTC
、ETH
等)移动到图表底部,以便出现货币标签下方 各自的柱状图(好像是正常的 X 轴)。
我该如何完成?
您可以通过将 "header": {"orient": "bottom"}
添加到 column
编码 (editor link) 来实现: