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

mjs_add_marker not working with mjs_histogram #48

Open
buggythepirate opened this issue Jul 5, 2016 · 0 comments
Open

mjs_add_marker not working with mjs_histogram #48

buggythepirate opened this issue Jul 5, 2016 · 0 comments

Comments

@buggythepirate
Copy link

buggythepirate commented Jul 5, 2016

Hi there,

It seems that mjs_add_marker is not working in conjunction with mjs_histogram.

mjs_plot(full_summary[(var_id=="Tot"),.(sum_val)], x=sum_val, decimals = 0, width=300, height=300) %>% mjs_histogram(bar_margin=2) %>% mjs_add_marker(x_value=average_val, label="Av. Val") %>% mjs_labs(x_label="Total value")

It will plot the histogram, but the vertical marker is not plotted.

Version: metricsgraphics 0.9.0
R-Version: 3.2.3

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

No branches or pull requests

1 participant