Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $js = "<script>
- $(document).ready(function() {
- $(\"#chart\").kendoChart({
- title: {
- font: \"13px Verdana, sans-serif\",
- text: \"'".$question."'\"
- },
- legend: {
- visible: false
- },
- series: [
- {
- type: \"bar\",
- name: \"Vote count\",
- data: [".$vote_."]
- }
- ],
- categoryAxis: {
- labels: {
- rotation: 0
- },
- categories: [".$answer_."]
- },
- valueAxis: {
- majorUnit: 1
- }
- });
- });
- </script>";
Add Comment
Please, Sign In to add comment