stableversion-3.0
Last change
on this file since 307d09d was
307d09d,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agregaron las librerias
|
-
Propiedad mode establecida a
100644
|
File size:
1.6 KB
|
Línea | |
---|
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 | |
---|
7 | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> |
---|
8 | <style type="text/css"> |
---|
9 | ${demo.css} |
---|
10 | </style> |
---|
11 | <script type="text/javascript"> |
---|
12 | $(function () { |
---|
13 | |
---|
14 | $('#container').highcharts({ |
---|
15 | chart: { |
---|
16 | type: 'pyramid', |
---|
17 | marginRight: 100 |
---|
18 | }, |
---|
19 | title: { |
---|
20 | text: 'Sales pyramid', |
---|
21 | x: -50 |
---|
22 | }, |
---|
23 | plotOptions: { |
---|
24 | series: { |
---|
25 | dataLabels: { |
---|
26 | enabled: true, |
---|
27 | format: '<b>{point.name}</b> ({point.y:,.0f})', |
---|
28 | color: (Highcharts.theme && Highcharts.theme.contrastTextColor) || 'black', |
---|
29 | softConnector: true |
---|
30 | } |
---|
31 | } |
---|
32 | }, |
---|
33 | legend: { |
---|
34 | enabled: false |
---|
35 | }, |
---|
36 | series: [{ |
---|
37 | name: 'Unique users', |
---|
38 | data: [ |
---|
39 | ['Website visits', 15654], |
---|
40 | ['Downloads', 4064], |
---|
41 | ['Requested price list', 1987], |
---|
42 | ['Invoice sent', 976], |
---|
43 | ['Finalized', 846] |
---|
44 | ] |
---|
45 | }] |
---|
46 | }); |
---|
47 | }); |
---|
48 | </script> |
---|
49 | </head> |
---|
50 | <body> |
---|
51 | <script src="../../js/highcharts.js"></script> |
---|
52 | <script src="../../js/modules/funnel.js"></script> |
---|
53 | <script src="../../js/modules/exporting.js"></script> |
---|
54 | |
---|
55 | <div id="container" style="min-width: 410px; max-width: 600px; height: 400px; margin: 0 auto"></div> |
---|
56 | |
---|
57 | </body> |
---|
58 | </html> |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.