Задать вопрос

Тел: +7 965 3737 888

447

Просмотров

0

Ответов

generateChart() for creating a Google Chart API pie chart from JavaScript

<p>I ended up not needing this (there's a good reason it's in JS and not Python, but most people would probably want to do this server-side instead) but I'm stashing it here in case I need it later.</p>
<p>It uses jQuery for the .each() method - which is very easy to replace if you need it to work without that dependency.</p>
<p>Usage:</p>
var src = generateChart({
    "foo": 5,
    "bar": 3,
    "baz": 6
});

Вопрос полезен? Да0/Нет0
file_3639.js(845.0б)
None