fm.charWidth(row.annotations[column].\r
displayCharacter.charAt(\r
0))) / 2;\r
- g.setColor(row.annotations[column].colour);\r
+\r
+ if (row.annotations[column].colour == null)\r
+ g.setColor(Color.black);\r
+ else\r
+ g.setColor(row.annotations[column].colour);\r
\r
if (column == 0 || row.graph > 0)\r
{\r
continue;\r
}\r
\r
- g.setColor(aa.annotations[column].colour);\r
+ if (aa.annotations[column].colour == null)\r
+ g.setColor(Color.black);\r
+ else\r
+ g.setColor(aa.annotations[column].colour);\r
+\r
y1 = y -\r
(int) ( ( (aa.annotations[column - 1].value - min) / range) * graphHeight);\r
y2 = y -\r
continue;\r
}\r
\r
- g.setColor(aa.annotations[column].colour);\r
+ if (aa.annotations[column].colour == null)\r
+ g.setColor(Color.black);\r
+ else\r
+ g.setColor(aa.annotations[column].colour);\r
+\r
y1 = y -\r
(int) ( ( (aa.annotations[column].value - min) / (range)) * aa.graphHeight);\r
\r
\r
for (int j = sRes; j < eRes; j++)\r
{\r
- g.setColor(aa.annotations[j].colour);\r
+ if (aa.annotations[j].colour == null)\r
+ g.setColor(Color.black);\r
+ else\r
+ g.setColor(aa.annotations[j].colour);\r
\r
height = (int) ( (aa.annotations[j].value / aa.graphMax) * GRAPH_HEIGHT);\r
if (height > y)\r