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.
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
Related
I am using the iOS-charts library in (Swift 3) to plot my data into a scatter chart. I can do this part easily but now I am trying to get a non-linear best fit line to display too. Does the charts library have any easy functions for finding a best fit line, and if not how do I create a line from a function if a have to derive the best fit line function myself. I know how to create a line graph from data points but do not know if charts allows you to make one from a function. An example of what I'm trying to do is above. Any help is appreciated thanks.
Link to iOS-charts
http://www.appcoda.com/ios-charts-api-tutorial/
I got an situation like this. I would like to using line chart to draw stacked value. I have tried google search but i can't find the solution.
For example: On date May/23 i got 3 values, i would like to display these on line-chart.
How could i achieve this? Does highcharts support to do this one. Please take a look at the link attach to clearer the question
Stacked line chart image
Addition info: Im using highcharts to do this one
Thanks for any comment or answer
Follow jlbriggs
I should use scatter-chart to achieve this one
Regarding the tooltip, I would suggest using a scatter series instead of a line. Set the lineWidth in the plotOptions and it will plot just like a line series, but the tool tips are handled differently. Example: jsfiddle.net/jlbriggs/c1o8Lwgv
Does highcharts support phase change lines ? It may be called multiple things but im looking to see if an X axis delineation line can be drawn in highcharts. It is used to specify a specific date in time where something in the environment changed. The chart reader would then look at that line and see if that change to the environment impacted the data represented by the lines in the line chart.
Anyone know if this can be done with high charts ? Sample image attached.
Great answer from Ondkloss: http://www.highcharts.com/docs/chart-concepts/plot-bands-and-plot-lines That page shows exactly what I was looking for.
Is there a way to make the Highcharts stacked bar graph work like a timeline? What I'd like to achieve is demonstrated in this Google Timeline Chart example.
Of key importance is that values can be repeated on the same bar. I haven't been able to figure this out, and currently suspect I may need to fall back to the Renderer and draw this chart manually, or switch to Google Charts, both of which I'd prefer to avoid. Thanks for any thoughts!
Yes, it is possible. This is called a gantt chart. That link has various examples. Some dont work. In that case update the jsFiddle's jquery and change the highcharts.js inclusion url.
I tried to search on the forum but didn't find anything about a simple question: How can we include several highcharts in one container as my example? Is it possible ?
My example
Thanks for your answer.
You mean, like this?
You can set how many series you want at the same chart.
However, to make the "chart grid" like in your image, you have to make 4 div to store each one of your charts