Hi! According to the documentation, chld=<error_correction_level>|<margin> should set the error corection level and chart margin. The eror correction level works fine. But the chart margin is somehow broken.
For some content, it works fine, but most of the cases it generates "random" margins. It's quite annoying, as for some contents the margin (set to 0) eats up more than half of the image area, making QR-scan really difficult. http://chart.apis.google.com/chart?cht=qr&chs=150x150&chma=50&choe=UTF-8&chld=L|0&chl=abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz generates 0 margin, fine. If I remove a single char from the coded char-sequence, but change nothing else: http://chart.apis.google.com/chart?cht=qr&chs=150x150&chma=50&choe=UTF-8&chld=L|0&chl=abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy it generates about 2*row-height margin. Or when I add some 28 more characters, but change nothing else: http://chart.apis.google.com/chart?cht=qr&chs=150x150&chma=50&choe=UTF-8&chld=L|0&chl=abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzab it generates about 4*row-height margin. Thanks for your attention, Tamas -- You received this message because you are subscribed to the Google Groups "Google Chart API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
