问题
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