I see in the JavaScript for ggvis how the gear could be hidden by manually adding a new line to the JS:
$('.plot-gear-icon').hide();
However, may I suggest a new statement in ggvis?
hide_gear(vis)
Which would update the output via JS in a manner similar to:
if (inExportPanel() | hide_gear) {
$('.plot-gear-icon').hide();
}
A bit more flavor, when creating dashboards with various packages, it's odd to casual users of the dashboard that only one of the charts has a gear, but the other charts (from other packages) don't have them.
Hi ggvis dev team,
I see in the JavaScript for ggvis how the gear could be hidden by manually adding a new line to the JS: $('.plot-gear-icon').hide();
However, may I suggest a new statement in ggvis? hide_gear(vis)
Which would update the output via JS in a manner similar to: if (inExportPanel() | hide_gear) { $('.plot-gear-icon').hide(); }
A bit more flavor, when creating dashboards with various packages, it's odd to casual users of the dashboard that only one of the charts has a gear, but the other charts (from other packages) don't have them.
Regards, Stephen