Hi Rhaone,
You can use an x-zone color as the line color. The x-zone color can be configured so that
the color is transparent for x < 30 and for x > 60, and red otherwise. In this way, the part
of the line that is outside A and B will be transparent and not visible. For example:
$myColor = $c->xZoneColor(30, Transparent, $c->xZoneColor(60, 0xcc0000, Transparent));
$c->addLineLayer($myData, $myColor, ....);
Hope this can help.
Regards
Peter Kwan |