Page 1 of 1

crosshatching

Posted: Mon Nov 07, 2011 9:09 pm
by 15960028
I'm trying to add a crosshatch pattern to a rectangle as well as a color. I'm not having any luck.

How do you do this ?

Re: crosshatching

Posted: Tue Nov 08, 2011 4:29 pm
by yeray
Hello,

I've seen setting a pattern to a series brush doesn't seem to take effect. I've added it to the defect list to be revised for future releases (TF90015821).
For example the setStyle call here doesn't seem to do anything:

Code: Select all

    $area = new Area($chart1->getChart());
    $area->fillSampleValues();
                                           
    $area->getAreaBrush()->setStyle(HatchStyle::$BACKWARDDIAGONAL);