dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

Capability to use dyCSS styling on a per dyGraph basis

Open DandeVilliers opened this issue 8 years ago • 3 comments

Within the dyCSS class the following is stated: "Note that CSS styles are global so will affect all dygraphs on a given web page."

Does the functionality exist for setting CSS settings on a per-graph basis if you have multiple plots on a shiny webpage?

Example: (This affects all plots on a global scale but should only apply to one plot) ... dyCSS(my_plot, textConnection(" .dygraph-legend > span { display: none; } .dygraph-legend > span.highlight { display: inline; } "))

DandeVilliers avatar Oct 27 '17 10:10 DandeVilliers

Thanks for reporting this, @DandeVilliers! I'll have a look.

przmv avatar Oct 27 '17 13:10 przmv

Any progress on this issue, @pshevtsov? Thanks.

DandeVilliers avatar Dec 07 '17 21:12 DandeVilliers

Oh, sorry, caught flu or something. I'll try to have a look on weekend.

przmv avatar Dec 07 '17 21:12 przmv