Created
February 16, 2013 20:31
-
-
Save gramirezcarrero/4968620 to your computer and use it in GitHub Desktop.
A CodePen by geronimo. graficas con canvasXpress - canvas... canvas html5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<head> | |
<link type="text/css" src="http://canvasxpress.org/js/EXT/resources/css/ext-all.css"></script> | |
<link type="text/css" src="http://canvasxpress.org/css/color-field.css"></script> | |
<!--[if IE]><script type="text/javascript" src="./js/excanvas.js"></script><![endif]--> | |
<!--[if IE]><script type="text/javascript" src="./js/extext.js"></script><![endif]--> | |
<script type="text/javascript" src="http://canvasxpress.org/js/EXT/adapter/ext/ext-base.js"></script> | |
<script type="text/javascript" src="http://canvasxpress.org/js/EXT/ext-all-debug.js"></script> | |
<script type="text/javascript" src="http://canvasxpress.org/js/canvasXpress.min.js"></script> | |
<script type="text/javascript" src="http://canvasxpress.org/js/color-field.js"></script> | |
<script type="text/javascript" src="http://canvasxpress.org/js/ext-canvasXpress.js"></script> | |
</head> | |
<canvas id="canvas1" width="613" height="500"></canvas> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
new CanvasXpress("canvas1", { | |
"y": { | |
"vars": [ | |
"Windows", | |
"Mac Os", | |
"Unix ", | |
], | |
"smps": [ | |
"Sitemas operativos" | |
], | |
"data": [ | |
[ | |
8 | |
], | |
[ | |
1.3 | |
], | |
[ | |
0.7 | |
] | |
] | |
} | |
}, { | |
"graphType": "Pie", | |
"useFlashIE": true, | |
"pieSegmentPrecision": 1, | |
"pieSegmentSeparation": 2, | |
"pieSegmentLabels": "outside", | |
"pieType": "solid" | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment