Secondary Axis in axlsx charts

一笑奈何 提交于 2020-01-17 04:31:13

问题


I am working on the xlsx report generation, and for that I am using axlsx gem. I looking for the option to show secondary Y-axis (for 2nd series in charts) in line and bar charts. Is there any way to do so?

Thanks in advance.


回答1:


I'm not well versed in axlsx much less charting in general, but from what I've read on the documentation there are thee possible 'axes' to choose from. valAxis, catAxis and serAxis. If I'm to assume you want depth to your chart, use serAxis.

http://rubydoc.info/github/randym/axlsx/Axlsx/SerAxis



来源:https://stackoverflow.com/questions/23558754/secondary-axis-in-axlsx-charts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!