OpenBCI / OpenBCI_GUI

A cross platform application for the OpenBCI Cyton and Ganglion. Tested on Mac, Windows and Ubuntu/Mint Linux.
MIT License
723 stars 258 forks source link

Fix Time Series X axis label not showing if last channel is hidden #1129

Closed retiutut closed 1 year ago

retiutut commented 1 year ago

Problem

Logic is not correct in isBottomChannel() method in W_TimeSeries.pde

Expected

Always show X axis label at the bottom no matter what channels are selected.

Operating System and Version

Windows 11

GUI Version

5.1.1-alpha

Are you running the downloaded app or from Processing/VSCode?

Processing

Type of OpenBCI Board

All boards

Console Log and Screenshots

Replicated by hiding channel 8 in synthetic mode with 8 channels.