crosshatching

TeeChart for PHP
Post Reply
ISVA7655
Newbie
Newbie
Posts: 16
Joined: Tue Aug 23, 2011 12:00 am

crosshatching

Post by ISVA7655 » Mon Nov 07, 2011 9:09 pm

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 ?

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: crosshatching

Post by Yeray » Tue Nov 08, 2011 4:29 pm

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);
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply