Open GoogleCodeExporter opened 8 years ago
Thanks Bart,
We agree this would be a great feature to add.
We've worked out a patch that adds support for specifying image urls among the
other colors in the "colors" array,
so you could just specify an image instead of a color and the line or pie area
will fill with that tiled image.
For some reason, it only seems to work with one image so far. It's tricky
because you need to make sure the image
has loaded before you can create a canvas pattern from it. I got it close
anyway.
Also, it looks like Excanvas doesn't support patterns so we'd need a different
approach to support IE.
Anyway, if you'd like to take a look, I've attached the patch and an image
(drop it in the charting/images folder).
-Scott
Original comment by scottj...@gmail.com
on 27 Apr 2010 at 10:08
Attachments:
Original issue reported on code.google.com by
b.vandeb...@gmail.com
on 26 Apr 2010 at 10:52