Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hc_annotations doesn't seem to be working #103

Closed
nuno-agostinho opened this issue May 19, 2016 · 1 comment
Closed

hc_annotations doesn't seem to be working #103

nuno-agostinho opened this issue May 19, 2016 · 1 comment
Labels
Milestone

Comments

@nuno-agostinho
Copy link
Contributor

nuno-agostinho commented May 19, 2016

Hey @jbkunst, I tried to add some text to a plot using the function hc_annotations with no success. I recreated the example given in http://www.highcharts.com/plugin-registry/single/17/Annotations

library(highcharter)
highchart() %>%
    hc_chart(renderTo="container") %>%
    hc_series(list(data=c(29.9, 71.5, 106.4, 129.2, 144.0, 176.0))) %>%
    hc_annotations(list(xValue=4, yValue=125, title=list(text="Annot")))

The plot works fine but it doesn't show the text annotation. See the result of running this code in here: http://rpubs.com/nuno-agostinho/182157

@jbkunst
Copy link
Owner

jbkunst commented May 19, 2016

@nuno-agostinho

Ups! Fixed! Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants