市长热线演示版

index.htm 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <title>Highcharts Example</title>
  6. <script type="text/javascript" src="http://cdn.hcharts.cn/jquery/jquery-1.8.3.min.js"></script>
  7. <script type="text/javascript">
  8. $(function () {
  9. $('#container').highcharts({
  10. chart: {
  11. type: 'column',
  12. margin: 75,
  13. options3d: {
  14. enabled: true,
  15. alpha: 10,
  16. beta: 25,
  17. depth: 70
  18. }
  19. },
  20. title: {
  21. text: '3D chart with null values'
  22. },
  23. subtitle: {
  24. text: 'Notice the difference between a 0 value and a null point'
  25. },
  26. plotOptions: {
  27. column: {
  28. depth: 25
  29. }
  30. },
  31. xAxis: {
  32. categories: Highcharts.getOptions().lang.shortMonths
  33. },
  34. yAxis: {
  35. opposite: true
  36. },
  37. series: [{
  38. name: 'Sales',
  39. data: [2, 3, null, 4, 0, 5, 1, 4, 6, 3]
  40. }]
  41. });
  42. });
  43. </script>
  44. </head>
  45. <body>
  46. <script src="../../js/highcharts.js"></script>
  47. <script src="../../js/highcharts-3d.js"></script>
  48. <script src="../../js/modules/exporting.js"></script>
  49. <div id="container" style="height: 400px"></div>
  50. </body>
  51. </html>