@@ -63,22 +63,29 @@ class W_BandPower extends Widget {
6363 bp_plot. getXAxis(). getAxisLabel(). setOffset(42f );
6464 bp_plot. startHistograms(GPlot . VERTICAL );
6565 bp_plot. getHistogram(). setDrawLabels(true );
66+ bp_plot. getXAxis(). setFontColor(OPENBCI_DARKBLUE );
67+ bp_plot. getXAxis(). setLineColor(OPENBCI_DARKBLUE );
68+ bp_plot. getXAxis(). getAxisLabel(). setFontColor(OPENBCI_DARKBLUE );
69+ bp_plot. getYAxis(). setFontColor(OPENBCI_DARKBLUE );
70+ bp_plot. getYAxis(). setLineColor(OPENBCI_DARKBLUE );
71+ bp_plot. getYAxis(). getAxisLabel(). setFontColor(OPENBCI_DARKBLUE );
6672
6773 // setting border of histograms to match BG
6874 bp_plot. getHistogram(). setLineColors(new color []{
6975 color (245 ), color (245 ), color (245 ), color (245 ), color (245 )
7076 }
7177 );
72-
7378 // setting bg colors of histogram bars to match the color scheme of the channel colors w/ an opacity of 150/255
7479 bp_plot. getHistogram(). setBgColors(new color [] {
75- color ((int )channelColors[6 ], 150 ),
76- color ((int )channelColors[4 ], 150 ),
77- color ((int )channelColors[3 ], 150 ),
78- color ((int )channelColors[2 ], 150 ),
79- color ((int )channelColors[1 ], 150 ),
80+ color ((int )channelColors[6 ], 200 ),
81+ color ((int )channelColors[4 ], 200 ),
82+ color ((int )channelColors[3 ], 200 ),
83+ color ((int )channelColors[2 ], 200 ),
84+ color ((int )channelColors[1 ], 200 ),
8085 }
8186 );
87+ // setting color of text label for each histogram bar on the x axis
88+ bp_plot. getHistogram(). setFontColor(OPENBCI_DARKBLUE );
8289 } // end of constructor
8390
8491 void update () {
@@ -136,6 +143,7 @@ class W_BandPower extends Widget {
136143 bp_plot. drawBox();
137144 bp_plot. drawXAxis();
138145 bp_plot. drawYAxis();
146+ bp_plot. drawGridLines(GPlot . HORIZONTAL );
139147 bp_plot. drawHistograms();
140148 bp_plot. endDraw();
141149
0 commit comments