Created
October 1, 2013 13:02
-
-
Save Pierry/6778102 to your computer and use it in GitHub Desktop.
Criando gráfico com a kendo com elementos
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
<!--Chart div--> | |
<div id="chart"></div> |
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
//Add chart initialization code | |
$("#chart").kendoChart({ | |
categoryAxis:{ | |
categories: [2005, 2006, 2007, 2008, 2009] | |
}, | |
seriesDefaults: { | |
type: "line" | |
}, | |
series: [ | |
{ name: "United States", data:[67.96, 68.93, 75, 74, 98] }, | |
{ name: "World", data: [15.7, 16.7, 20, 23.5, 30] } | |
], | |
valueAxis:{ | |
labels:{ | |
format: "{0}%" | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment