PAIR-code/scatter-gl

points color default to dark when backgroundColor is dark

Closed this issue · 0 comments

I have tried changing the point color to a lighter color when backgroundColor is say black, but it doesn't change.
here is the code:

scatterGL = new ScatterGL(
      document.querySelector('#scatter-gl-container'),
      { 
        'rotateOnStart': false, 
        'selectEnabled': true, 
        'styles': { 
          backgroundColor: '#000', 
          axesVisible: false,
          point: {
            colorUnselected: '#111',
            colorNoSelection: '#fff', // color defaults to black
          }
        }
      } 
    );