ability to return just the url instead of a rendered img.

codex.gr - March 7, 2008 - 12:15
Project:Chart API
Version:5.x-1.0-1
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I've written a custom filter to embed CSV Google Charts, but if I use bbcode input format, I can't display the images (chart by default uses a HTML tag). I've taken the liberty to add another function to your module, chart_url(), which returns just the chart url, which can be embedded to any input format that can show images (like [img][/img] on bbcode).

AttachmentSize
chart.module-url.patch568 bytes

#1

tjholowaychuk - March 7, 2008 - 15:08
Status:needs review» fixed

This was my intention of chart_build(); however your patch certainly makes that idea cleaner, I will patch the module asap.

#2

tjholowaychuk - March 7, 2008 - 15:21
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.