jneilliii / OctoPrint-PlotlyTempGraph

25 stars 7 forks source link

Hide Specific Graph Lines/Legends #17

Closed technoplunk closed 3 years ago

technoplunk commented 3 years ago

I have some extra temp sensors in my printer that don't have corresponding heaters. (chamber, edge of plate). Octoprint doesn't really have a way to configure them so they don't also have corresponding graph lines/legends for their "target" temperature, I only need the "actual" lines.

As such would it be possible to have "hide" checkboxes in the "Name Mapping" section of this plugin's config that would then hide these extra lines/legends that would otherwise never have data?

jneilliii commented 3 years ago

I will have to consider this one for a bit to figure out the best way to handle this case.

jneilliii commented 3 years ago

I've added the hidden option for the name map in the above commit and available as part of version 0.1.2rc2. You can switch the release channel for the plugin to Release Candidate in OctoPrint's software update settings.

technoplunk commented 3 years ago

Works good thanks!

On Fri, Sep 17, 2021 at 11:16 PM jneilliii @.***> wrote:

I've added the hidden option for the name map in the above commit and available as part of version 0.1.2rc2. You can switch the release channel for the plugin to Release Candidate in OctoPrint's software update settings.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jneilliii/OctoPrint-PlotlyTempGraph/issues/17#issuecomment-922186964, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKXOTHJHZNQE75MWEVXPDTUCQODHANCNFSM5EFGVVEQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

JLatasa commented 3 years ago

Hi. After upgrading from 0.1.1 to 0.1.2 I can not see anymore the "plotly menu" that usually shows on the top right-hand side of the graph.

jneilliii commented 3 years ago

That hasn't changed since this plugin was made, the modebar has always been disabled.

https://github.com/jneilliii/OctoPrint-PlotlyTempGraph/blame/44b90cc6b391da79866ebe4e2a3bc2365cded9f2/octoprint_plotlytempgraph/static/js/plotlytempgraph.js#L51