I am making an interactive graph in R using the Dygraphs
package—a JavaScript charting library.
After much painstaking effort, I finally formatted my dates just right, but now I realized that there are too many labels on the y-axis. When I open the R Markdown html file in my web browser, there are twenty labels on the y-axis, which is unnecessary since the values are displayed when mousing over a point, not to mention it's visually unappealing.
I want to set a limit on the number of labels shown, say 5 or 6. I looked through dygraph-tickers.js
but couldn't find something suitable. Granted I don't know Java, and I'm exhausted today. I would really appreciate some help on this.
Comments
Post a Comment