title: R show/hide points
body: <p>everybody.</p>
  <p>I am using <code>R</code> and <code>ggplot2</code>. I have a chart and there are multiple points on it (Each of them has different colors. Red, blue, yellow, etc). I am using also <code>R Shiny</code> and <code>ggiraph</code> package to have <code>click</code> events on <code>legends</code>. Once, I click <code>legend</code>, I am rendering new chart based on filter criteria and it is fine.</p>
  <p>Problem. When any color is removed from dataset (for example red), <code>legend</code> (with name red) is hided also. Also, I try to hide points but this case legends are hided also.</p>
  <p>What kind of solution I need this case ?</p>
  <p>Thanks !</p>