Closed (fixed)
Project:
Google Chart Tools: Image Charts
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2011 at 21:42 UTC
Updated:
6 Dec 2011 at 20:49 UTC
I tried the following, but the data is not put correctly into the QR code - and nothing is stated in the documentation about QR codes.
$chart = array(
'#chart_id' => 'test_chart',
'#type' => CHART_TYPE_QR,
'#size' => chart_size(200, 200),
'#data' => 'http://vih.dk'
);
theme('chart', array('chart' => $chart));
$qr_file = chart_copy($chart, 'my_chart');
Comments
Comment #1
13rac1 commentedQR quotes are a newer feature of the Chart API. They may not be supported correctly in this module.
Can you post the generated URL?
Comment #2
lsolesen commentedhttp://chart.googleapis.com/chart?chd=t%3A&cht=qr&chs=200x200&chf=
Comment #3
lsolesen commentedComment #4
lsolesen commentedDo you need more info on this one?
Comment #5
13rac1 commentedI simply haven't had the time to look into it. Got pulled into a giant D6->D7 upgrade project. I'll look into it as soon as I can.
Comment #6
lsolesen commentedIt doesn't quite make sense, but the code above will put the data correctly in the QR-type.
Comment #7
lsolesen commented