hrbrmstr / metricsgraphics

:chart_with_upwards_trend: htmlwidget interface to the MetricsGraphics.js D3 chart library
http://hrbrmstr.github.io/metricsgraphics/
Other
132 stars 35 forks source link

add plot title and description #25

Closed brendanhoganvt closed 9 years ago

brendanhoganvt commented 9 years ago

It would be helpful if mjs_plot carried a couple additional options from the native MetricsGraphics.js utiility, including title and description. Thank you for providing this excellent capability.

hrbrmstr commented 9 years ago

Thx for the kudos and suggestion. Unfortunately, the htmlwidgets folks consider it more of a best practice to have the titles/descriptions outside the actual widgets. But, you can actually wrap the widget output with tags from htmtools. Various repos in https://github.com/timelyportfolio have examples of using that.