Home: Perl Programming Help: Advanced:
Gradient in GD::Graph


Dec 3, 2012, 3:52 AM

Views: 13112
Gradient in GD::Graph


I am drawing graphics (bars) with GD::Graph::bars.
But I can't fill bars with gradient, only solid color.
Saw to the php side but I want explore the modules. I want fill bars with gradient.

May be someone know about it:
GD::Graph::bars drawing polygon with GD. GD has method fill which fills limited area by point inside area. Where I can found the code of filling process? For correct it: write mathematic function of filling that in bars has gradient?

Thank you.


Dec 5, 2012, 1:26 AM

Views: 12862
Re: [Sunchey] Gradient in GD::Graph

Noone don't know? May be someone know, is it real or unbelieveable?

Veteran / Moderator

Dec 5, 2012, 4:10 AM

Views: 12853
Re: [Sunchey] Gradient in GD::Graph

Well, you know, when it comes to questions on specific modules, the chances that no one on this forum is using this module are not negligible (there are some many modules around).

I have never used your module and did not even know that it existed. Actually, thanks you for pointing to it, I might quite likely have a use for such a module in the near future.

But of course, I am not anywhere near becoming an expert on this module.