Files
jube-fork/Jube.App/wwwroot/kendo/examples/area-charts/error-bars.html
2022-11-04 13:24:24 +02:00

79 lines
2.3 KiB
HTML
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html>
<head>
<title>Error Bars</title>
<meta charset="utf-8">
<link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
<link href="../../styles/kendo.common.min.css" rel="stylesheet">
<link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
<link href="../../styles/kendo.default.min.css" rel="stylesheet">
<link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
<script src="../../js/jquery.min.js"></script>
<script src="../../js/jszip.min.js"></script>
<script src="../../js/kendo.all.min.js"></script>
<script src="../content/shared/js/console.js"></script>
<script>
</script>
</head>
<body>
<a class="offline-button" href="../index.html">Back</a>
<div id="example">
<div class="demo-section k-content wide">
<div id="chart"></div>
</div>
<script>
function createChart() {
$("#chart").kendoChart({
title: {
text: "GDP growth and standard deviation"
},
legend: {
visible: false
},
seriesDefaults: {
type: "area"
},
series: [{
data: [7.943, 7.848, 9.284, 9.263, 9.801, 3.890, 8.238, 9.552],
errorBars: {
value: "stddev"
}
}],
valueAxis: {
labels: {
format: "{0}%"
},
line: {
visible: false
},
axisCrossingValue: 0
},
categoryAxis: {
categories: [2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010],
line: {
visible: false
}
},
tooltip: {
visible: true,
format: "{0}%",
template: "#= value # (σ = #= kendo.toString(high - low, 'N2') #)"
}
});
}
$(document).ready(createChart);
$(document).bind("kendo:skinChange", createChart);
</script>
</div>
</body>
</html>