Advertisement
sqlninja1

Untitled

Feb 11th, 2015
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script>
  2.  
  3. var chart1; // globally available
  4. $(document).ready(function() {
  5. chart1 = new Highcharts.Chart({
  6. chart: {
  7. renderTo: 'chart-container-1',
  8. defaultSeriesType: 'bar'
  9. },
  10. title: {
  11. text: 'Art by Media'
  12. },
  13. xAxis: {
  14. categories: <cfoutput>#serializejson(cats)#</cfoutput>
  15. },
  16. yAxis: {
  17. title: {
  18. text: 'Total'
  19. }
  20. },
  21. series: [{name:"Totals",data:<cfoutput>#replace(serializejson(data),"""","","all")#</cfoutput>}]
  22.  
  23. });
  24. });
  25. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement