Show/hide series interractively in dygraphadd/delete series dynamically/programmatically in dygraphdata.table vs dplyr: can one do something well the other can't or does poorly?Dygraph Independent Series without union?Integrating time series graphs and leaflet maps using R shinyBorder around r dygraphs plotdygraphs - Hide series from LegendSeries highlighting legend in dygraphs package for R/ShinyPlain Dygraphs JavaScript options in R/ShinyHow to get clicked time serie from dygraph in R shiny?create empty dygraph in Rshiny

Hold[Expression] (or similar) in InputField that truly holds the input unmodified

Can GPL and BSD licensed applications be used for government work?

Why keep the bed heated after initial layer(s) with PLA (or PETG)?

How do professional electronic musicians/sound engineers combat listening fatigue?

how to add 1 milliseconds on a datetime string?

How can I make sure my players' decisions have consequences?

Passing lines from the text file of a list of files to or as arguments

A planet illuminated by a black hole?

Should I leave my PhD after 3 years with a Masters?

Inadvertently nuked my disk permission structure - why?

kids pooling money for Lego League and taxes

What should I say when a company asks you why someone (a friend) who was fired left?

"I you already know": is this proper English?

If my business card says 〇〇さん, does that mean I'm referring to myself with an honourific?

Is an easily guessed plot twist a good plot twist?

Current relevance: "She has broken her leg" vs. "She broke her leg yesterday"

What is the meaning of "you has the wind of me"?

Closet Wall, is it Load Bearing?

Would it be a good idea to memorize relative interval positions on guitar?

This message is flooding my syslog, how to find where it comes from?

Area of parallelogram = Area of square. Shear transform

What exactly makes a General Products hull nearly indestructible?

Using "Kollege" as "university friend"?

Why did NASA use U.S customary units?



Show/hide series interractively in dygraph


add/delete series dynamically/programmatically in dygraphdata.table vs dplyr: can one do something well the other can't or does poorly?Dygraph Independent Series without union?Integrating time series graphs and leaflet maps using R shinyBorder around r dygraphs plotdygraphs - Hide series from LegendSeries highlighting legend in dygraphs package for R/ShinyPlain Dygraphs JavaScript options in R/ShinyHow to get clicked time serie from dygraph in R shiny?create empty dygraph in Rshiny






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Is there a possibility to show/hide the series interactively in a R dygraph?



The idea is to compare many time series and have for example a ticking box where one could select/deselect the series to show or hide any of them.



I could not find such an option in the dygraphs package. Such ticking legend exist for example in the package leaflet with addLayersControl().










share|improve this question



















  • 1





    I don't think there's an automatic way to do it, but you can show and hide series 'manually' using the Javascript API: dygraphs.com/jsdoc/symbols/Dygraph.html#setVisibility

    – squaregoldfish
    Mar 26 at 16:05











  • Have you considered plotly as an alternative?

    – JasonAizkalns
    Mar 26 at 17:21

















0















Is there a possibility to show/hide the series interactively in a R dygraph?



The idea is to compare many time series and have for example a ticking box where one could select/deselect the series to show or hide any of them.



I could not find such an option in the dygraphs package. Such ticking legend exist for example in the package leaflet with addLayersControl().










share|improve this question



















  • 1





    I don't think there's an automatic way to do it, but you can show and hide series 'manually' using the Javascript API: dygraphs.com/jsdoc/symbols/Dygraph.html#setVisibility

    – squaregoldfish
    Mar 26 at 16:05











  • Have you considered plotly as an alternative?

    – JasonAizkalns
    Mar 26 at 17:21













0












0








0








Is there a possibility to show/hide the series interactively in a R dygraph?



The idea is to compare many time series and have for example a ticking box where one could select/deselect the series to show or hide any of them.



I could not find such an option in the dygraphs package. Such ticking legend exist for example in the package leaflet with addLayersControl().










share|improve this question
















Is there a possibility to show/hide the series interactively in a R dygraph?



The idea is to compare many time series and have for example a ticking box where one could select/deselect the series to show or hide any of them.



I could not find such an option in the dygraphs package. Such ticking legend exist for example in the package leaflet with addLayersControl().







r dygraphs r-dygraphs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 26 at 16:10







Nikola

















asked Mar 26 at 16:02









NikolaNikola

34 bronze badges




34 bronze badges







  • 1





    I don't think there's an automatic way to do it, but you can show and hide series 'manually' using the Javascript API: dygraphs.com/jsdoc/symbols/Dygraph.html#setVisibility

    – squaregoldfish
    Mar 26 at 16:05











  • Have you considered plotly as an alternative?

    – JasonAizkalns
    Mar 26 at 17:21












  • 1





    I don't think there's an automatic way to do it, but you can show and hide series 'manually' using the Javascript API: dygraphs.com/jsdoc/symbols/Dygraph.html#setVisibility

    – squaregoldfish
    Mar 26 at 16:05











  • Have you considered plotly as an alternative?

    – JasonAizkalns
    Mar 26 at 17:21







1




1





I don't think there's an automatic way to do it, but you can show and hide series 'manually' using the Javascript API: dygraphs.com/jsdoc/symbols/Dygraph.html#setVisibility

– squaregoldfish
Mar 26 at 16:05





I don't think there's an automatic way to do it, but you can show and hide series 'manually' using the Javascript API: dygraphs.com/jsdoc/symbols/Dygraph.html#setVisibility

– squaregoldfish
Mar 26 at 16:05













Have you considered plotly as an alternative?

– JasonAizkalns
Mar 26 at 17:21





Have you considered plotly as an alternative?

– JasonAizkalns
Mar 26 at 17:21












0






active

oldest

votes










Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361481%2fshow-hide-series-interractively-in-dygraph%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes




Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.







Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.



















draft saved

draft discarded
















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361481%2fshow-hide-series-interractively-in-dygraph%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript