Google Charts yaxis 值越高显示越低
我正在寻找一种使用谷歌图表来显示不同时间排名的方法。
(这与此处是同一问题,但这次使用 Google 图表Highcharts 的)
有没有一种方法以“用户友好的方式”显示排名,我的意思是:排名第一的排名位于图表的顶部,最后的排名位于底部。
我希望使用折线图。
I am looking for a way to display rankings across time, using Google Charts.
(this is the same question as here, but this time using Google Charts instead of Highcharts)
Is there a way to display rankings in a "user-friendly way", by which I mean: with the #1 ranking being at the top of the chart, and the last ranking being at the bottom.
I wish to use the line charts.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好的,我找到了选项:
vAxis:{direction:-1}将反转y轴
hAxis:{direction:-1}将反转x轴
Ok, I found the option:
vAxis: {direction: -1} will reverse the y Axis
hAxis: {direction: -1} will reverse the x Axis