"color"

Sets the color of the timeline or day header of the scheduler ewo.

Synopsis

shape.color(string color);

Parameters

Parameter Description
shape Name of the object. Scheduler ewo.
color The color string to be set, for example, "Green".

Description

Sets the color of the timeline or day header of the scheduler ewo.

Example

In the following example a blue time bar on the 27th of March 2007 with the start time 15:10 and end time 16:12 is added to the scheduler ewo. The texts "Test" and data "Data" are set for the bar. The index of the bar is 1.

The color of the timeline or day header is set to green (see figure below).

main()
{
  time t1, t2;
  t1 = makeTime(2007,3,27,15,10);
  t2 = makeTime(2007,3,27,16,12);
  this.addRange(1,t1,t2,"blue",;"Test","Data",1);
  this.color("Green");
}
Abbildung 1. Scheduler ewo

Assignment

Scheduler ewo